Annotation Interface Node.Metadata
- Enclosing interface:
- Node
Annotation that describes the metadata of the node.
-
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionClass<?>An interface describing the configuration of the node.Class<? extends OutcomeProvider>A provider for the possible outcomes of the node. -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionClass<?>A validator for the entire service configuration.Class<?>A class that will be serialised to JSON that a node can specify to return additional "metadata" to the client for presenting the node.The name of the i18n bundle file relative to the root package.The name of the node.org.forgerock.openam.auth.node.api.NamespacePrepended to a node's name to differentiate it from other nodes with the same name.String[]A list of tags, which can be categories, keywords or synonyms.
-
Element Details
-
outcomeProvider
Class<? extends OutcomeProvider> outcomeProviderA provider for the possible outcomes of the node.- Returns:
- the outcome provider.
-
configClass
Class<?> configClassAn interface describing the configuration of the node. The interface should contain methods annotated withAttribute.- Returns:
- The config class.
-
-
-
name
String nameThe name of the node. If not provided, the simple name of the annotated interface is used.- Returns:
- the name.
- Default:
- ""
-
i18nFile
String i18nFileThe name of the i18n bundle file relative to the root package.If not provided, this will default to the node class name.
- Returns:
- the i18n file name.
- Default:
- ""
-
configValidator
Class<?> configValidatorA validator for the entire service configuration.- Returns:
- The config validator class.
- Default:
- java.lang.Void.class
-
tags
String[] tagsA list of tags, which can be categories, keywords or synonyms.- Returns:
- The list of tags.
- Default:
- {}
-
namespace
org.forgerock.openam.auth.node.api.Namespace namespacePrepended to a node's name to differentiate it from other nodes with the same name. This was introduced to allow integration of Marketplace nodes into the core AM product with backwards compatibility.- Returns:
- The state namespace.
- Default:
- NONE
-
extensions
Class<?> extensionsA class that will be serialised to JSON that a node can specify to return additional "metadata" to the client for presenting the node.For example "provider" metadata attribute for a set of nodes written by the same external provider.
Jackson is used to serialise the class instance to JSON.
- Returns:
- The extensions.
- Default:
- java.lang.Void.class
-