Package de.xima.fc.security.endpoint
Enum EInboxEndpoint
- java.lang.Object
-
- java.lang.Enum<EInboxEndpoint>
-
- de.xima.fc.security.endpoint.EInboxEndpoint
-
- All Implemented Interfaces:
IWebEndpoint,Serializable,Comparable<EInboxEndpoint>
public enum EInboxEndpoint extends Enum<EInboxEndpoint> implements IWebEndpoint
Default definitions for inbox web endpoints.- Since:
- 8.0.0
- Author:
- XIMA Media GmbH
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description IAuthorizergetAuthorizer()IAvailabiltyResolvergetAvailibilityResolver()StringgetId()IUriResolvergetUriResolver()StringtoString()static EInboxEndpointvalueOf(String name)Returns the enum constant of this type with the specified name.static EInboxEndpoint[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
WORKFLOW
public static final EInboxEndpoint WORKFLOW
-
REVIEW
public static final EInboxEndpoint REVIEW
-
-
Method Detail
-
values
public static EInboxEndpoint[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (EInboxEndpoint c : EInboxEndpoint.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EInboxEndpoint valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getId
public String getId()
- Specified by:
getIdin interfaceIWebEndpoint- Returns:
- the unique ID of this web endpoint.
-
getUriResolver
public IUriResolver getUriResolver()
- Specified by:
getUriResolverin interfaceIWebEndpoint- Returns:
- the uri resolver which defines the location of this endpoint.
-
getAvailibilityResolver
public IAvailabiltyResolver getAvailibilityResolver()
- Specified by:
getAvailibilityResolverin interfaceIWebEndpoint- Returns:
- the availability resolver that defines the availability requirements of this web endpoint. May be
null. Ifnullresolver is returned than the web endpoint is available.
-
getAuthorizer
public IAuthorizer getAuthorizer()
- Specified by:
getAuthorizerin interfaceIWebEndpoint- Returns:
- the authorizer that defines authorization requirements of this web endpoint. May be
null. Ifnullauthorizer is returned than the view web enpoint is public, which means any user can access it.
-
toString
public String toString()
- Overrides:
toStringin classEnum<EInboxEndpoint>
-
-