Uses of Class
org.opencastproject.util.data.Either
Packages that use Either
Package
Description
Utility classes for dealing with media packages, collections, URLs, files, and streams.
-
Uses of Either in org.opencastproject.security.api
Methods in org.opencastproject.security.api that return EitherModifier and TypeMethodDescriptionstatic Either<AccessControlEntry, List<AccessControlEntry>> Create a list of access control entries for a given role.static Either<AccessControlEntry, List<AccessControlEntry>> Create a single access control entry.Methods in org.opencastproject.security.api with parameters of type EitherModifier and TypeMethodDescriptionstatic AccessControlListAccessControlUtil.acl(Either<AccessControlEntry, List<AccessControlEntry>>... entries) Constructor function for ACLs. -
Uses of Either in org.opencastproject.util
Methods in org.opencastproject.util that return EitherModifier and TypeMethodDescriptionNamespace aware parsing ofxml.XmlUtil.parseNs(InputSource src) Namespace aware parsing ofsrc.HttpUtil.waitForResource(TrustedHttpClient http, URI resourceUri, int expectedStatus, long timeout, long pollingInterval) Wait for a certain status of a resource.IoSupport.withResource(Supplier<B> resourceSupplier, Function<Exception, Err> toErr, Function<B, A> f) Handle a closeable resource insidefand ensure thatrgets closed properly. -
Uses of Either in org.opencastproject.util.data
Methods in org.opencastproject.util.data that return EitherModifier and TypeMethodDescriptionEither.RightProjection.either()static <A,B> Either <A, B> Either.left(A left) Create a left.static <A,B> Either <A, B> Either.right(B right) Create a right.Method parameters in org.opencastproject.util.data with type arguments of type Either -
Uses of Either in org.opencastproject.util.data.functions
Methods in org.opencastproject.util.data.functions that return EitherMethods in org.opencastproject.util.data.functions with parameters of type EitherMethod parameters in org.opencastproject.util.data.functions with type arguments of type Either