Uses of Class
org.opencastproject.util.data.Option
Packages that use Option
Package
Description
Service implementation classes
Utility classes for dealing with media packages, collections, URLs, files, and streams.
Workflow service.
-
Uses of Option in org.opencastproject.assetmanager.aws
Methods in org.opencastproject.assetmanager.aws that return OptionModifier and TypeMethodDescriptionAwsAbstractArchive.getTotalSpace()AwsAbstractArchive.getUsableSpace()AwsAbstractArchive.getUsedSpace() -
Uses of Option in org.opencastproject.assetmanager.storage.impl.fs
Methods in org.opencastproject.assetmanager.storage.impl.fs that return OptionModifier and TypeMethodDescriptionOsgiFileSystemAssetStore.getTotalSpace()OsgiFileSystemAssetStore.getUsableSpace()OsgiFileSystemAssetStore.getUsedSpace() -
Uses of Option in org.opencastproject.authorization.xacml.manager.util
Methods in org.opencastproject.authorization.xacml.manager.util that return OptionModifier and TypeMethodDescriptionstatic Option<ManagedAcl> AccessInformationUtil.matchAcls(List<ManagedAcl> acls, AccessControlList acl) Matches the given ACL against the given list of managed ACLs returning the first match.static Option<ManagedAcl> AccessInformationUtil.matchAclsLenient(List<ManagedAcl> acls, AccessControlList acl, List<String> ignorePrefixes) Matches the given ACL against the given list of managed ACLs returning the first match. -
Uses of Option in org.opencastproject.composer.api
Methods in org.opencastproject.composer.api with parameters of type OptionModifier and TypeMethodDescriptionComposerService.composite(Dimension outputDimension, Option<LaidOutElement<Track>> option, LaidOutElement<Track> lowerLaidOutElement, Option<LaidOutElement<Attachment>> watermarkOption, String identifier, String outputBackground, String sourceAudioName) Compose two videos into one with an optional watermark. -
Uses of Option in org.opencastproject.composer.impl
Methods in org.opencastproject.composer.impl with parameters of type OptionModifier and TypeMethodDescriptionComposerServiceImpl.composite(Dimension compositeTrackSize, Option<LaidOutElement<Track>> upperTrack, LaidOutElement<Track> lowerTrack, Option<LaidOutElement<Attachment>> watermark, String profileId, String background, String sourceAudioName) Compose two videos into one with an optional watermark. -
Uses of Option in org.opencastproject.composer.remote
Methods in org.opencastproject.composer.remote with parameters of type OptionModifier and TypeMethodDescriptionComposerServiceRemoteImpl.composite(Dimension compositeTrackSize, Option<LaidOutElement<Track>> upperTrack, LaidOutElement<Track> lowerTrack, Option<LaidOutElement<Attachment>> watermark, String profileId, String background, String sourceAudioName) -
Uses of Option in org.opencastproject.event.comment
Methods in org.opencastproject.event.comment that return OptionModifier and TypeMethodDescriptionEventComment.getId()Returns the comment idEventCommentReply.getId()Returns the reply idMethods in org.opencastproject.event.comment with parameters of type OptionModifier and TypeMethodDescriptionstatic EventCommentCreates a simple commentstatic EventCommentEventComment.create(Option<Long> id, String eventId, String organization, String text, User author, String reason, boolean resolvedStatus) Creates a complex commentstatic EventCommentEventComment.create(Option<Long> id, String eventId, String organization, String text, User author, String reason, boolean resolvedStatus, Date creationDate, Date modificationDate) Creates a complex commentstatic EventCommentEventComment.create(Option<Long> id, String eventId, String organization, String text, User author, String reason, boolean resolvedStatus, Date creationDate, Date modificationDate, List<EventCommentReply> replies) Creates a complex commentstatic EventCommentReplyCreates a comment replystatic EventCommentReplyEventCommentReply.create(Option<Long> id, String text, User author, Date creationDate, Date modificationDate) Creates a comment reply -
Uses of Option in org.opencastproject.index.service.resources.list.provider
Methods in org.opencastproject.index.service.resources.list.provider that return OptionModifier and TypeMethodDescriptionstatic <Boolean> Option<Boolean> BooleanListProvider.parseValue(String filterValue) Parse boolean value from the given string. -
Uses of Option in org.opencastproject.index.service.resources.list.query
Methods in org.opencastproject.index.service.resources.list.query that return OptionModifier and TypeMethodDescriptionSeriesListQuery.getAccessPolicy()Returns anOptioncontaining the acl used to filter if setServicesListQuery.getActions()Returns anOptioncontaining boolean value used to filter any actions if set.EventListQuery.getAgent()Returns anOptioncontaining the agent used to filter if setEventListQuery.getComments()Returns anOptioncontaining the comments used to filter if setEventListQuery.getContributor()Returns anOptioncontaining the contributor used to filter if setSeriesListQuery.getContributor()Returns anOptioncontaining the contributor used to filter if setSeriesListQuery.getCreationDate()Returns anOptioncontaining the creation date period used to filter if setSeriesListQuery.getCreator()Returns anOptioncontaining the creator used to filter if setThemesListQuery.getCreator()Returns anOptioncontaining the creator used to filter if setJobsListQuery.getFreeText()Returns anOptioncontaining the free text used to filter if set.ServersListQuery.getFreeText()Returns anOptioncontaining the free text used to filter if set.ServicesListQuery.getFreeText()Returns anOptioncontaining the free text used to filter if set.JobsListQuery.getHostname()Returns anOptioncontaining the hostname used to filter if set.ServersListQuery.getHostname()Returns anOptioncontaining the hostname used to filter if set.ServicesListQuery.getHostname()Returns anOptioncontaining the hostname used to filter if set.EventListQuery.getLanguage()Returns anOptioncontaining the language used to filter if setSeriesListQuery.getLanguage()Returns anOptioncontaining the language used to filter if setSeriesListQuery.getLicense()Returns anOptioncontaining the license used to filter if setEventListQuery.getLocation()Returns anOptioncontaining the location used to filter if setAclsListQuery.getName()Returns anOptioncontaining the name used to filter if setAgentsListQuery.getName()Returns anOptioncontaining the name used to filter if setGroupsListQuery.getName()Returns anOptioncontaining the name used to filter if setServicesListQuery.getName()Returns anOptioncontaining the name used to filter if set.UsersListQuery.getName()Returns anOptioncontaining the name used to filter if setJobsListQuery.getNodeName()Returns anOptioncontaining the node name used to filter if set.ServersListQuery.getNodeName()Returns anOptioncontaining the node name used to filter if set.ServicesListQuery.getNodeName()Returns anOptioncontaining the node name used to filter if set.SeriesListQuery.getOrganizer()Returns anOptioncontaining the organizer used to filter if setEventListQuery.getPresenter()Returns anOptioncontaining the presenter used to filter if setUsersListQuery.getProvider()Returns anOptioncontaining the provider used to filter if setEventListQuery.getPublisher()Returns anOptioncontaining the publisher used to filter if setSeriesListQuery.getReadPermission()UsersListQuery.getRole()Returns anOptioncontaining the role used to filter if setEventListQuery.getSeriesId()Returns anOptioncontaining the seriesId used to filter if setEventListQuery.getStartDate()Returns anOptioncontaining the start date period used to filter if setAgentsListQuery.getStatus()Returns anOptioncontaining the status used to filter if setEventListQuery.getStatus()Returns anOptioncontaining the status used to filter if setJobsListQuery.getStatus()Returns anOptioncontaining the status used to filter if set.ServersListQuery.getStatus()Returns anOptioncontaining the status used to filter if set.ServicesListQuery.getStatus()Returns anOptioncontaining the status used to filter if set.SeriesListQuery.getSubject()Returns anOptioncontaining the subject used to filter if setEventListQuery.getTechnicalPresenter()Returns anOptioncontaining the technical presenter's username used to filter if setSeriesListQuery.getTitle()Returns anOptioncontaining the title used to filter if setSeriesListQuery.getWritePermission()Methods in org.opencastproject.index.service.resources.list.query with parameters of type OptionModifier and TypeMethodDescriptionstatic ResourceListFilter<String> SeriesListQuery.createAccessPolicyFilter(Option<String> acl) Create a newResourceListFilterbased on access policystatic <Boolean> ResourceListFilter<Boolean> ServicesListQuery.createActionsFilter(Option<Boolean> value) Create a newResourceListFilterbased on any actions.static ResourceListFilter<String> EventListQuery.createAgentFilter(Option<String> agent) Create a newResourceListFilterbased on an agentstatic ResourceListFilter<String> EventListQuery.createCommentsFilter(Option<String> comments) Create a newResourceListFilterbased on commentsstatic ResourceListFilter<String> EventListQuery.createContributorsFilter(Option<String> contributor) Create a newResourceListFilterbased on a contributorstatic ResourceListFilter<String> SeriesListQuery.createContributorsFilter(Option<String> contributor) Create a newResourceListFilterbased on a contributorstatic ResourceListFilter<Tuple<Date, Date>> SeriesListQuery.createCreationDateFilter(Option<Tuple<Date, Date>> period) Create a newResourceListFilterbased on creation date periodstatic ResourceListFilter<String> SeriesListQuery.createCreatorFilter(Option<String> creator) Create a newResourceListFilterbased on a creatorstatic ResourceListFilter<String> ThemesListQuery.createCreatorFilter(Option<String> creator) Create a newResourceListFilterbased on a creatorstatic <String> ResourceListFilter<String> JobsListQuery.createFreeTextFilter(Option<String> value) Create a newResourceListFilterbased on a free text.static <String> ResourceListFilter<String> ServersListQuery.createFreeTextFilter(Option<String> value) Create a newResourceListFilterbased on a free text.static <String> ResourceListFilter<String> ServicesListQuery.createFreeTextFilter(Option<String> value) Create a newResourceListFilterbased on a free text.static <String> ResourceListFilter<String> JobsListQuery.createHostnameFilter(Option<String> value) Create a newResourceListFilterbased on a hostname.static ResourceListFilter<String> ServersListQuery.createHostnameFilter(Option<String> value) Create a newResourceListFilterbased on a hostname.static <String> ResourceListFilter<String> ServicesListQuery.createHostnameFilter(Option<String> value) Create a newResourceListFilterbased on a hostname.static ResourceListFilter<String> EventListQuery.createIsPublishedFilter(Option<String> isPublished) Create a newResourceListFilterbased on is publishedstatic ResourceListFilter<String> EventListQuery.createLanguageFilter(Option<String> language) Create a newResourceListFilterbased on a languagestatic ResourceListFilter<String> SeriesListQuery.createLanguageFilter(Option<String> language) Create a newResourceListFilterbased on a languagestatic ResourceListFilter<String> SeriesListQuery.createLicenseFilter(Option<String> license) Create a newResourceListFilterbased on a licensestatic ResourceListFilter<String> EventListQuery.createLocationFilter(Option<String> location) Create a newResourceListFilterbased on a locationstatic ResourceListFilter<String> AclsListQuery.createNameFilter(Option<String> name) Create a newResourceListFilterbased on a namestatic ResourceListFilter<String> AgentsListQuery.createNameFilter(Option<String> name) Create a newResourceListFilterbased on a namestatic ResourceListFilter<String> GroupsListQuery.createNameFilter(Option<String> name) Create a newResourceListFilterbased on a namestatic <String> ResourceListFilter<String> ServicesListQuery.createNameFilter(Option<String> value) Create a newResourceListFilterbased on a name.static ResourceListFilter<String> UsersListQuery.createNameFilter(Option<String> name) Create a newResourceListFilterbased on a namestatic ResourceListFilter<String> JobsListQuery.createNodeNameFilter(Option<String> value) Create a newResourceListFilterbased on a nodeName.static ResourceListFilter<String> ServersListQuery.createNodeNameFilter(Option<String> value) Create a newResourceListFilterbased on a nodeName.static ResourceListFilter<String> ServicesListQuery.createNodeNameFilter(Option<String> value) Create a newResourceListFilterbased on a nodeName.static ResourceListFilter<String> SeriesListQuery.createOrganizersFilter(Option<String> organizer) Create a newResourceListFilterbased on a organizerstatic ResourceListFilter<String> EventListQuery.createPresentersFilter(Option<String> presenter) Create a newResourceListFilterbased on a presenter's full namestatic ResourceListFilter<String> UsersListQuery.createProviderFilter(Option<String> provider) Create a newResourceListFilterbased on a providerstatic ResourceListFilter<String> EventListQuery.createPublisherFilter(Option<String> publisher) Create a newResourceListFilterbased on publishersstatic ResourceListFilter<Boolean> SeriesListQuery.createReadPermissionFilter(Option<Boolean> value) static ResourceListFilter<String> UsersListQuery.createRoleFilter(Option<String> role) Create a newResourceListFilterbased on a rolestatic ResourceListFilter<String> EventListQuery.createSeriesFilter(Option<String> seriesId) Create a newResourceListFilterbased on the Series idstatic ResourceListFilter<Tuple<Date, Date>> EventListQuery.createStartDateFilter(Option<Tuple<Date, Date>> period) Create a newResourceListFilterbased on start date periodstatic ResourceListFilter<String> AgentsListQuery.createStatusFilter(Option<String> status) Create a newResourceListFilterbased on a statestatic ResourceListFilter<String> EventListQuery.createStatusFilter(Option<String> status) Create a newResourceListFilterbased on statsstatic <String> ResourceListFilter<String> JobsListQuery.createStatusFilter(Option<String> value) Create a newResourceListFilterbased on a status.static ResourceListFilter<String> ServersListQuery.createStatusFilter(Option<String> value) Create a newResourceListFilterbased on a status.static <String> ResourceListFilter<String> ServicesListQuery.createStatusFilter(Option<String> value) Create a newResourceListFilterbased on a status.static ResourceListFilter<String> SeriesListQuery.createSubjectFilter(Option<String> subject) Create a newResourceListFilterbased on a subjectstatic ResourceListFilter<String> EventListQuery.createTechnicalPresentersFilter(Option<String> presenter) Create a newResourceListFilterbased on a presenter's user namestatic ResourceListFilter<String> SeriesListQuery.createTitleFilter(Option<String> title) Create a newResourceListFilterbased on a titlestatic ResourceListFilter<Boolean> SeriesListQuery.createWritePermissionFilter(Option<Boolean> value) voidServicesListQuery.withActions(Option<Boolean> hasActions) Add aResourceListFilterfilter to the query with any actions.voidServicesListQuery.withFreeText(Option<String> freeText) Add aResourceListFilterfilter to the query with the given free text.voidServicesListQuery.withHostname(Option<String> hostname) Add aResourceListFilterfilter to the query with the given hostname.voidAdd aResourceListFilterfilter to the query with the given name.voidServicesListQuery.withStatus(Option<String> status) Add aResourceListFilterfilter to the query with the given status. -
Uses of Option in org.opencastproject.index.service.util
Methods in org.opencastproject.index.service.util with parameters of type OptionModifier and TypeMethodDescriptionstatic <A> ResourceListFilter<A> FiltersUtils.generateFilter(Option<A> value, String name, String label, ResourceListFilter.SourceType type, Option<String> valuesListName) Create a newResourceListFilterfollowing the parameters given -
Uses of Option in org.opencastproject.kernel.bundleinfo
Methods in org.opencastproject.kernel.bundleinfo that return OptionModifier and TypeMethodDescriptionBundleInfo.getBuildNumber()Get the build number, e.g. the git hash.BundleInfoImpl.getBuildNumber()BundleInfos.getBuildNumber(org.osgi.framework.Bundle bundle) Extract the build number of a bundle.BundleVersion.getBuildNumber()Methods in org.opencastproject.kernel.bundleinfo with parameters of type OptionModifier and TypeMethodDescriptionstatic BundleInfoBundleInfoImpl.bundleInfo(String host, String bundleSymbolicName, long bundleId, String bundleVersion, Option<String> buildNumber) static BundleInfoBundleInfoImpl.bundleInfo(String host, String bundleSymbolicName, long bundleId, String bundleVersion, Option<String> buildNumber, Option<String> dbSchemaVersion) Constructors in org.opencastproject.kernel.bundleinfo with parameters of type Option -
Uses of Option in org.opencastproject.kernel.scanner
Constructors in org.opencastproject.kernel.scanner with parameters of type Option -
Uses of Option in org.opencastproject.list.api
Methods in org.opencastproject.list.api that return OptionModifier and TypeMethodDescriptionResourceListQuery.getLimit()Returns the limit for the resource queryResourceListQuery.getOffset()Returns the offset for the resource queryResourceListQuery.getSortBy()Returns the name of the field by which the list should be sortedResourceListFilter.getValue()Returns the value of the filterResourceListFilter.getValuesListName()Returns the name of the list containing the possible values for this filter. -
Uses of Option in org.opencastproject.list.impl
Fields in org.opencastproject.list.impl declared as OptionMethods in org.opencastproject.list.impl that return OptionModifier and TypeMethodDescription<A> Option<A> ResourceListQueryImpl.getFilterValue(String name) Returns the filter value wrapped in anOptionor none if the filter is not existing or has no value.EmptyResourceListQuery.getLimit()ResourceListQueryImpl.getLimit()EmptyResourceListQuery.getOffset()ResourceListQueryImpl.getOffset()EmptyResourceListQuery.getSortBy()ResourceListQueryImpl.getSortBy() -
Uses of Option in org.opencastproject.list.query
Methods in org.opencastproject.list.query that return OptionModifier and TypeMethodDescriptionAbstractListFilter.getValue()StringListFilter.getValue()StringListFilter.getValuesListName()Constructors in org.opencastproject.list.query with parameters of type Option -
Uses of Option in org.opencastproject.mediapackage
Methods in org.opencastproject.mediapackage that return OptionModifier and TypeMethodDescriptionMediaPackageSupport.sanityCheck(MediaPackage mp) Basic sanity checking for media packages. -
Uses of Option in org.opencastproject.metadata.api
Methods in org.opencastproject.metadata.api that return OptionModifier and TypeMethodDescriptionStaticMetadata.getAvailable()StaticMetadata.getExtent()StaticMetadata.getId()StaticMetadata.getIsPartOf()StaticMetadata.getLanguage()StaticMetadata.getReplaces()StaticMetadata.getTemporalDuration()StaticMetadata.getTemporalInstant()StaticMetadata.getTemporalPeriod()StaticMetadata.getType() -
Uses of Option in org.opencastproject.oaipmh.matterhorn
Methods in org.opencastproject.oaipmh.matterhorn with parameters of type OptionModifier and TypeMethodDescriptionMatterhornInlinedMetadataProvider.createMetadata(OaiPmhRepository repository, SearchResultItem item, Option<String> set) MatterhornMetadataProvider.createMetadata(OaiPmhRepository repository, SearchResultItem item, Option<String> set) -
Uses of Option in org.opencastproject.oaipmh.persistence
Methods in org.opencastproject.oaipmh.persistence that return OptionModifier and TypeMethodDescriptionQuery.getLimit()Query.getMediaPackageId()Query.getModifiedAfter()The date is inclusive.Query.getModifiedBefore()The date is inclusive.Query.getOffset()Query.getRepositoryId()Query.getSeriesId()Query.getSetSpec()Query.isDeleted()Methods in org.opencastproject.oaipmh.persistence with parameters of type OptionModifier and TypeMethodDescriptionQueryBuilder.mediaPackageId(Option<String> mediaPackageId) QueryBuilder.modifiedAfter(Option<Date> modifiedAfter) The date is inclusive.QueryBuilder.modifiedBefore(Option<Date> modifiedBefore) The date is inclusive.QueryBuilder.repositoryId(Option<String> repositoryId) -
Uses of Option in org.opencastproject.oaipmh.server
Methods in org.opencastproject.oaipmh.server that return OptionModifier and TypeMethodDescriptionOaiPmhRepository.getMetadataProvider(String metadataPrefix) Return the metadata provider for a given metadata prefix.DefaultRepository.getSavedQuery(String resumptionToken) abstract Option<ResumableQuery> OaiPmhRepository.getSavedQuery(String resumptionToken) Get a saved query.OaiPmhServerInfoUtil.oaiPmhServerUrlOfCurrentOrganization(SecurityService secSvc) Get the OAI-PMH server URL of the current organization.OaiPmhServer.repositoryId(javax.servlet.http.HttpServletRequest req, String mountPoint) Retrieve the repository id from the requested path.Methods in org.opencastproject.oaipmh.server with parameters of type OptionModifier and TypeMethodDescriptionMetadataProvider.createMetadata(OaiPmhRepository repository, SearchResultItem item, Option<String> set) Transform a search result item into a piece of XML metadata.OaiDcMetadataProvider.createMetadata(OaiPmhRepository repository, SearchResultItem item, Option<String> set) -
Uses of Option in org.opencastproject.oaipmh.util
Methods in org.opencastproject.oaipmh.util that return OptionModifier and TypeMethodDescriptionText blank.Methods in org.opencastproject.oaipmh.util with parameters of type OptionModifier and TypeMethodDescriptionprotected Nodeprotected Elementprotected Elementprotected ElementCreate an element with the qualified nameqname-- i.e.protected NodeConditional element.Constructors in org.opencastproject.oaipmh.util with parameters of type Option -
Uses of Option in org.opencastproject.runtimeinfo
Methods in org.opencastproject.runtimeinfo that return OptionModifier and TypeMethodDescriptionstatic Option<RestService> RestDocsServlet.findRestAnnotation(Class<?> endpointClass) Try to find the RestService annotation starting atendpointClass. -
Uses of Option in org.opencastproject.scheduler.api
Methods in org.opencastproject.scheduler.api that return OptionModifier and TypeMethodDescriptionPeriod.getComment()Returns the commentPeriod.getId()Returns the period idPeriod.getPurpose()Returns the purposeConstructors in org.opencastproject.scheduler.api with parameters of type Option -
Uses of Option in org.opencastproject.schema
Fields in org.opencastproject.schema declared as OptionModifier and TypeFieldDescriptionOcDublinCoreBuilder.abstraktOcDublinCoreBuilder.accessRightsOcDublinCoreBuilder.accrualMethodOcDublinCoreBuilder.accrualPeriodicityOcDublinCoreBuilder.accrualPolicyOcDublinCoreBuilder.alternativeOcDublinCoreBuilder.audienceOcDublinCoreBuilder.availableOcDublinCoreBuilder.bibliographicCitationOcDublinCoreBuilder.conformsToOcDublinCoreBuilder.contributorOcDublinCoreBuilder.coverageOcDublinCoreBuilder.createdOcDublinCoreBuilder.creatorOcDublinCoreBuilder.dateOcDublinCoreBuilder.dateAcceptedOcDublinCoreBuilder.dateCopyrightedOcDublinCoreBuilder.dateSubmittedOcDublinCoreBuilder.descriptionOcDublinCoreBuilder.educationLevelOcDublinCoreBuilder.extentOcDublinCoreBuilder.formatOcDublinCoreBuilder.hasFormatOcDublinCoreBuilder.hasPartOcDublinCoreBuilder.hasVersionOcDublinCoreBuilder.identifierOcDublinCoreBuilder.instructionalMethodOcDublinCoreBuilder.isFormatOfOcDublinCoreBuilder.isPartOfOcDublinCoreBuilder.isReferencedByOcDublinCoreBuilder.isReplacedByOcDublinCoreBuilder.isRequiredByOcDublinCoreBuilder.issuedOcDublinCoreBuilder.isVersionOfOcDublinCoreBuilder.languageOcDublinCoreBuilder.licenseOcDublinCoreBuilder.mediatorOcDublinCoreBuilder.mediumOcDublinCoreBuilder.modifiedOcDublinCoreBuilder.provenanceOcDublinCoreBuilder.publisherOcDublinCoreBuilder.referencesOcDublinCoreBuilder.relationOcDublinCoreBuilder.replacesOcDublinCoreBuilder.requiresOcDublinCoreBuilder.rightsOcDublinCoreBuilder.rightsHolderOcDublinCoreBuilder.sourceOcDublinCoreBuilder.spatialOcDublinCoreBuilder.subjectOcDublinCoreBuilder.tableOfContentsOcDublinCoreBuilder.temporalOcDublinCoreBuilder.titleOcDublinCoreBuilder.typeOcDublinCoreBuilder.validMethods in org.opencastproject.schema that return OptionModifier and TypeMethodDescriptionOcDublinCore.getAbstract()OcDublinCoreBuilder.getAbstract()OcDublinCore.getAccessRights()OcDublinCoreBuilder.getAccessRights()OcDublinCore.getAccrualMethod()OcDublinCoreBuilder.getAccrualMethod()OcDublinCore.getAccrualPeriodicity()OcDublinCoreBuilder.getAccrualPeriodicity()OcDublinCore.getAccrualPolicy()OcDublinCoreBuilder.getAccrualPolicy()OcDublinCore.getAlternative()OcDublinCoreBuilder.getAlternative()OcDublinCore.getAudience()OcDublinCoreBuilder.getAudience()OcDublinCore.getAvailable()OcDublinCoreBuilder.getAvailable()OcDublinCore.getBibliographicCitation()OcDublinCoreBuilder.getBibliographicCitation()OcDublinCore.getConformsTo()OcDublinCoreBuilder.getConformsTo()OcDublinCore.getContributor()OcDublinCoreBuilder.getContributor()OcDublinCore.getCoverage()OcDublinCoreBuilder.getCoverage()OcDublinCore.getCreator()OcDublinCoreBuilder.getCreator()OcDublinCore.getDate()OcDublinCoreBuilder.getDate()OcDublinCore.getDateAccepted()OcDublinCoreBuilder.getDateAccepted()OcDublinCore.getDateCopyrighted()OcDublinCoreBuilder.getDateCopyrighted()OcDublinCore.getDateSubmitted()OcDublinCoreBuilder.getDateSubmitted()OcDublinCore.getDescription()OcDublinCoreBuilder.getDescription()OcDublinCore.getEducationLevel()OcDublinCoreBuilder.getEducationLevel()OcDublinCore.getExtent()OcDublinCoreBuilder.getExtent()OcDublinCore.getFormat()OcDublinCoreBuilder.getFormat()OcDublinCore.getHasFormat()OcDublinCoreBuilder.getHasFormat()OcDublinCore.getHasPart()OcDublinCoreBuilder.getHasPart()OcDublinCore.getHasVersion()OcDublinCoreBuilder.getHasVersion()OcDublinCore.getIdentifier()OcDublinCoreBuilder.getIdentifier()OcDublinCore.getInstructionalMethod()OcDublinCoreBuilder.getInstructionalMethod()OcDublinCore.getIsFormatOf()OcDublinCoreBuilder.getIsFormatOf()OcDublinCore.getIsPartOf()OcDublinCoreBuilder.getIsPartOf()OcDublinCore.getIsReferencedBy()OcDublinCoreBuilder.getIsReferencedBy()OcDublinCore.getIsReplacedBy()OcDublinCoreBuilder.getIsReplacedBy()OcDublinCore.getIsRequiredBy()OcDublinCoreBuilder.getIsRequiredBy()OcDublinCore.getIssued()OcDublinCoreBuilder.getIssued()OcDublinCore.getIsVersionOf()OcDublinCoreBuilder.getIsVersionOf()OcDublinCore.getLanguage()OcDublinCoreBuilder.getLanguage()OcDublinCore.getLicense()OcDublinCoreBuilder.getLicense()OcDublinCore.getMediator()OcDublinCoreBuilder.getMediator()OcDublinCore.getMedium()OcDublinCoreBuilder.getMedium()OcDublinCore.getModified()OcDublinCoreBuilder.getModified()OcDublinCore.getProvenance()OcDublinCoreBuilder.getProvenance()OcDublinCore.getPublisher()OcDublinCoreBuilder.getPublisher()OcDublinCore.getReferences()OcDublinCoreBuilder.getReferences()OcDublinCore.getRelation()OcDublinCoreBuilder.getRelation()OcDublinCore.getReplaces()OcDublinCoreBuilder.getReplaces()OcDublinCore.getRequires()OcDublinCoreBuilder.getRequires()OcDublinCore.getRights()OcDublinCoreBuilder.getRights()OcDublinCore.getRightsHolder()OcDublinCoreBuilder.getRightsHolder()OcDublinCore.getSource()OcDublinCoreBuilder.getSource()OcDublinCore.getSpatial()OcDublinCoreBuilder.getSpatial()OcDublinCore.getSubject()OcDublinCoreBuilder.getSubject()OcDublinCore.getTableOfContents()OcDublinCoreBuilder.getTableOfContents()OcDublinCore.getTemporal()OcDublinCoreBuilder.getTemporal()OcDublinCore.getType()OcDublinCoreBuilder.getType()OcDublinCore.getValid()OcDublinCoreBuilder.getValid()Methods in org.opencastproject.schema with parameters of type OptionModifier and TypeMethodDescriptionOcDublinCoreBuilder.setAbstract(Option<String> a) OcDublinCoreBuilder.setAccessRights(Option<String> a) OcDublinCoreBuilder.setAccrualMethod(Option<String> a) OcDublinCoreBuilder.setAccrualPeriodicity(Option<String> a) OcDublinCoreBuilder.setAccrualPolicy(Option<String> a) OcDublinCoreBuilder.setAlternative(Option<String> a) OcDublinCoreBuilder.setAudience(Option<String> a) OcDublinCoreBuilder.setAvailable(Option<String> a) OcDublinCoreBuilder.setBibliographicCitation(Option<String> a) OcDublinCoreBuilder.setConformsTo(Option<String> a) OcDublinCoreBuilder.setContributor(Option<String> a) OcDublinCoreBuilder.setCoverage(Option<String> a) OcDublinCoreBuilder.setCreated(Option<Date> a) OcDublinCoreBuilder.setCreator(Option<String> a) OcDublinCoreBuilder.setDateAccepted(Option<Date> a) OcDublinCoreBuilder.setDateCopyrighted(Option<Date> a) OcDublinCoreBuilder.setDateSubmitted(Option<Date> a) OcDublinCoreBuilder.setDescription(Option<String> a) OcDublinCoreBuilder.setEducationLevel(Option<String> a) OcDublinCoreBuilder.setHasFormat(Option<String> a) OcDublinCoreBuilder.setHasPart(Option<String> a) OcDublinCoreBuilder.setHasVersion(Option<String> a) OcDublinCoreBuilder.setIdentifier(Option<String> a) OcDublinCoreBuilder.setInstructionalMethod(Option<String> a) OcDublinCoreBuilder.setIsFormatOf(Option<String> a) OcDublinCoreBuilder.setIsPartOf(Option<String> a) OcDublinCoreBuilder.setIsReferencedBy(Option<String> a) OcDublinCoreBuilder.setIsReplacedBy(Option<String> a) OcDublinCoreBuilder.setIsRequiredBy(Option<String> a) OcDublinCoreBuilder.setIsVersionOf(Option<String> a) OcDublinCoreBuilder.setLanguage(Option<String> a) OcDublinCoreBuilder.setLicense(Option<String> a) OcDublinCoreBuilder.setMediator(Option<String> a) OcDublinCoreBuilder.setModified(Option<String> a) OcDublinCoreBuilder.setProvenance(Option<String> a) OcDublinCoreBuilder.setPublisher(Option<String> a) OcDublinCoreBuilder.setReferences(Option<String> a) OcDublinCoreBuilder.setRelation(Option<String> a) OcDublinCoreBuilder.setReplaces(Option<String> a) OcDublinCoreBuilder.setRequires(Option<String> a) OcDublinCoreBuilder.setRightsHolder(Option<String> a) OcDublinCoreBuilder.setSpatial(Option<String> a) OcDublinCoreBuilder.setSubject(Option<String> a) OcDublinCoreBuilder.setTableOfContents(Option<String> a) OcDublinCoreBuilder.setTemporal(Option<String> a) -
Uses of Option in org.opencastproject.serviceregistry.api
Fields in org.opencastproject.serviceregistry.api with type parameters of type OptionModifier and TypeFieldDescriptionstatic final Function<org.apache.http.HttpResponse, Option<List<MediaPackageElement>>> RemoteBase.elementsFromHttpResponseMethods in org.opencastproject.serviceregistry.api that return OptionModifier and TypeMethodDescriptionprotected <A> Option<A> RemoteBase.runRequest(org.apache.http.client.methods.HttpRequestBase req, Function<org.apache.http.HttpResponse, A> f) -
Uses of Option in org.opencastproject.storage
Methods in org.opencastproject.storage that return OptionModifier and TypeMethodDescriptionStorageUsage.getTotalSpace()Gets the total space of storage in BytesStorageUsage.getUsableSpace()Gets the available space of storage in Bytes This is free storage that is not reservedStorageUsage.getUsedSpace()Gets the used space of storage in Bytes -
Uses of Option in org.opencastproject.themes
Methods in org.opencastproject.themes that return OptionConstructors in org.opencastproject.themes with parameters of type OptionModifierConstructorDescriptionTheme(Option<Long> id, Date creationDate, boolean isDefault, User creator, String name, String description, boolean bumperActive, String bumperFile, boolean trailerActive, String trailerFile, boolean titleSlideActive, String titleSlideMetadata, String titleSlideBackground, boolean licenseSlideActive, String licenseSlideBackground, String licenseSlideDescription, boolean watermarkActive, String watermarkFile, String watermarkPosition) -
Uses of Option in org.opencastproject.util
Fields in org.opencastproject.util with type parameters of type OptionModifier and TypeFieldDescriptionJobUtil.jobFromHttpResponseMimeTypeUtil.suffixMimeType.getSuffix()as a function.Methods in org.opencastproject.util that return OptionModifier and TypeMethodDescription<A> Option<A> Apply functionfonly if no other thread currently applies a function using this needle eye.IoSupport.classPathResourceAsFile(String resource) Get a classpath resource as a file using the class loader ofIoSupport.MimeType.getDescription()Returns the mime type description.MimeType.getFlavor()Returns the flavor of this mime type.MimeType.getFlavorDescription()Returns the flavor description.OsgiUtil.getOptCfg(Dictionary d, String key) Get a value from a dictionary.OsgiUtil.getOptCfgAsBoolean(Dictionary d, String key) Get an optional boolean from a dictionary.OsgiUtil.getOptCfgAsInt(Dictionary d, String key) Get a value from a dictionary.OsgiUtil.getOptContextProperty(org.osgi.service.component.ComponentContext cc, String key) Get an optional, non-blank value from the bundle context.MimeType.getSuffix()Returns the main suffix for this mime type, that identifies files containing data of this flavor.IoSupport.loadFileFromClassPathAsString(String resource) Load a classpath resource into a string using the class loader ofIoSupport.IoSupport.loadFileFromClassPathAsString(String resource, Class<?> clazz) Load a classpath resource into a string using UTF-8 encoding and the class loader of the given class.Evaluate the xpath expression against the contained document.static Option<InputStream> IoSupport.openClassPathResource(String resource) Open a classpath resource using the class loader ofIoSupport.static Option<InputStream> IoSupport.openClassPathResource(String resource, Class<?> clazz) Open a classpath resource using the class loader of the given class.<A> Option<A> Deprecated.Deprecated.static <A> Option<A> IoSupport.withFile(File file, Function2<InputStream, File, A> f) Handle a stream insidefand ensure thatsgets closed properly.Methods in org.opencastproject.util that return types with arguments of type OptionModifier and TypeMethodDescriptionEnumSupport.parseEnum(A e) Create a function to parse a string into an Enum value.Methods in org.opencastproject.util with parameters of type OptionModifier and TypeMethodDescriptionstatic javax.ws.rs.core.Response.ResponseBuilderRestUtil.fileResponse(File f, String contentType, Option<String> fileName) Create a file response.static MimeTypeMimeType.mimeType(String type, String subtype, List<String> suffixes, List<MimeType> equivalents, Option<String> description, Option<String> flavor, Option<String> flavorDescription) static javax.ws.rs.core.ResponseRestUtil.R.ok(InputStream in, String contentType, Option<Long> streamLength, Option<String> fileName) Create a response with status OK from a stream.static javax.ws.rs.core.ResponseRestUtil.R.ok(InputStream in, Option<String> contentType, Option<Long> streamLength, Option<String> fileName) Create a response with status OK from a stream.static Jsons.PropCreate a property.static javax.ws.rs.core.Response.ResponseBuilderRestUtil.partialFileResponse(File f, String contentType, Option<String> fileName, String rangeHeader) create a partial file responsestatic Monadics.ListMonadic<String> RestUtil.splitCommaSeparatedParam(Option<String> param) Split a comma separated request param into a list of trimmed strings discarding any blank parts.static javax.ws.rs.core.Response.ResponseBuilderRestUtil.streamResponse(InputStream in, String contentType, Option<Long> streamLength, Option<String> fileName) Deprecated.static JobBarrier.ResultJobUtil.waitForJob(Job waiter, ServiceRegistry reg, Option<Long> timeout, Job job) Check ifjobis not done yet and wait in case.static JobBarrier.ResultJobUtil.waitForJob(ServiceRegistry reg, Option<Long> timeout, Job job) Check ifjobis not done yet and wait in case.JobUtil.waitForJobSuccess(Job waiter, ServiceRegistry reg, Option<Long> timeout) Wait for the job to complete and return the success value. -
Uses of Option in org.opencastproject.util.data
Methods in org.opencastproject.util.data that return OptionModifier and TypeMethodDescriptionabstract <B> Option<B> Monadic bind operationm a -> (a -> m b) -> m b.Return the first element satisfying predicatep.<B> Option<B> abstract <B> Option<B> static <A> Option<A> Option.fromOpt(com.entwinemedia.fn.data.Opt<A> a) Convert anOptinto anOption.static <A> Option<A> Deprecated.Return the head of listasornone.Monadics.ListMonadic.headOpt()Return the head of the list.<B> Option<B> static <A> Option<A> Option.none()Create a new none.static <A> Option<A> Option.none(A example) Create a none with the type ofexample.static <A> Option<A> Create a none with the given type.static <A> Option<A> Option.option(A a) Wrap an arbitrary object into an option withnullbeing mapped to none.Lazy version oforElse(Option).If this is none returnnoneelse this.Option.orError(T none) Thrownoneif none.static <A> Option<A> Option.some(A a) Create a new some.Methods in org.opencastproject.util.data that return types with arguments of type OptionMethods in org.opencastproject.util.data with parameters of type OptionModifier and TypeMethodDescriptionIf this is none returnnoneelse this.Method parameters in org.opencastproject.util.data with type arguments of type Option -
Uses of Option in org.opencastproject.util.data.functions
Fields in org.opencastproject.util.data.functions with type parameters of type OptionModifier and TypeFieldDescriptionStrings.toDoubleConvert a string into a long if possible.Strings.toIntConvert a string into an integer if possible.Strings.trimToNoneTrim a string and return eithersomeornoneif it's empty.Methods in org.opencastproject.util.data.functions that return OptionModifier and TypeMethodDescriptionReturna.toString()wrapped in a some ifa !static <A> Option<A> m (m a) -> m aOptions.sequenceOpt(List<Option<A>> as) Sequence a list of options.Returns some(message) if predicate is false, none otherwise.Strings.trimToNone(String a) Trim a string and return eithersomeornoneif it's empty.static <A> Option<A> Widening cast.Methods in org.opencastproject.util.data.functions that return types with arguments of type OptionModifier and TypeMethodDescriptionOptions.asList()Strings.asString()Returna.toString()wrapped in a some ifa !Apply effecteto the result offwhich is then returned.Methods in org.opencastproject.util.data.functions with parameters of type OptionModifier and TypeMethodDescriptionstatic <A> Option<A> m (m a) -> m astatic <A> Option<A> Widening cast.Method parameters in org.opencastproject.util.data.functions with type arguments of type OptionModifier and TypeMethodDescriptionApply effecteto the result offwhich is then returned.static <A> Option<A> m (m a) -> m aOptions.sequenceOpt(List<Option<A>> as) Sequence a list of options. -
Uses of Option in org.opencastproject.util.jaxb
Methods in org.opencastproject.util.jaxb that return OptionMethods in org.opencastproject.util.jaxb with parameters of type Option -
Uses of Option in org.opencastproject.workflow.api
Methods in org.opencastproject.workflow.api that return OptionModifier and TypeMethodDescriptionAbstractWorkflowOperationHandler.getCfg(WorkflowInstance wi, String key) -
Uses of Option in org.opencastproject.workingfilerepository.impl
Methods in org.opencastproject.workingfilerepository.impl that return OptionModifier and TypeMethodDescriptionWorkingFileRepositoryImpl.getTotalSpace()Gets the total space of storage in BytesWorkingFileRepositoryImpl.getUsableSpace()Gets the available space of storage in Bytes This is free storage that is not reservedWorkingFileRepositoryImpl.getUsedSpace()Gets the used space of storage in Bytes -
Uses of Option in org.opencastproject.workspace.impl
Methods in org.opencastproject.workspace.impl that return OptionModifier and TypeMethodDescriptionWorkspaceImpl.getTotalSpace()WorkspaceImpl.getUsableSpace()WorkspaceImpl.getUsedSpace()
RestUtil.R.ok(java.io.InputStream, String, org.opencastproject.util.data.Option, org.opencastproject.util.data.Option)instead