Package org.forgerock.openig.types
Class TypeDefinitions
java.lang.Object
org.forgerock.openig.types.TypeDefinitions
Type definitions helpers for generic types. Completes helper methods provided by
TypeDefinition.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.forgerock.openig.model.type.StringTypeDefinition<Duration> Represents the "Duration" type, which is a String with a specificSyntax.static final org.forgerock.openig.model.type.StringTypeDefinition<Pattern> Represents the "Pattern" type, which is a String with a specificSyntax.static final org.forgerock.openig.model.type.StringTypeDefinition<Version> Represents the "PRODUCT_VERSION" type, which is a String with a specificSyntax.static final org.forgerock.openig.model.type.StringTypeDefinition<Realm> Represents the "PRODUCT_VERSION" type, which is a String with a specificSyntax.static final org.forgerock.openig.model.type.StringTypeDefinition<URI> Represents the "URI" type, which is a String with a specificSyntax.static final org.forgerock.openig.model.type.StringTypeDefinition<URL> Represents the "URL" type, which is a String with a specificSyntax. -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> org.forgerock.openig.model.type.StringTypeDefinition<Expression<T>> expressionOf(Class<T> type) Represents a runtimeExpressionof type T, which is a String with a specificSyntax.static <T> org.forgerock.openig.model.type.StringTypeDefinition<LeftValueExpression<T>> leftValueExpressionOf(Class<T> type) Represents a runtimeLeftValueExpressionof type T, which is a String with a specificSyntax.Represents a runtimePurposeof secret's type T, which is a String with a specificSyntax.
-
Field Details
-
DURATION_TYPE
Represents the "Duration" type, which is a String with a specificSyntax. -
URI_TYPE
Represents the "URI" type, which is a String with a specificSyntax. -
URL_TYPE
Represents the "URL" type, which is a String with a specificSyntax. -
PATTERN_TYPE
Represents the "Pattern" type, which is a String with a specificSyntax. -
PRODUCT_VERSION_TYPE
public static final org.forgerock.openig.model.type.StringTypeDefinition<Version> PRODUCT_VERSION_TYPERepresents the "PRODUCT_VERSION" type, which is a String with a specificSyntax. -
REALM_TYPE
Represents the "PRODUCT_VERSION" type, which is a String with a specificSyntax.
-
-
Method Details
-
expressionOf
public static <T> org.forgerock.openig.model.type.StringTypeDefinition<Expression<T>> expressionOf(Class<T> type) Represents a runtimeExpressionof type T, which is a String with a specificSyntax.- Type Parameters:
T- The Expression's type- Parameters:
type- The Expression's type- Returns:
- The
StringTypeDefinitionof a runtime expression.
-
leftValueExpressionOf
public static <T> org.forgerock.openig.model.type.StringTypeDefinition<LeftValueExpression<T>> leftValueExpressionOf(Class<T> type) Represents a runtimeLeftValueExpressionof type T, which is a String with a specificSyntax.- Type Parameters:
T-LeftValueExpression's type- Parameters:
type- The left-value expression's type- Returns:
- The
StringTypeDefinitionof a left-value expression.
-
purposeOf
public static <T extends Secret> org.forgerock.openig.model.type.StringTypeDefinition<Purpose<T>> purposeOf(Class<T> type) Represents a runtimePurposeof secret's type T, which is a String with a specificSyntax.- Type Parameters:
T- The Secret's type- Parameters:
type- The Secret's type- Returns:
- The
StringTypeDefinitionof a Purpose.
-