Class InputState
java.lang.Object
org.forgerock.openam.auth.node.api.InputState
Describes a single shared state attribute consumed by a node.
-
Constructor Summary
ConstructorsConstructorDescriptionInputState
(String name) Constructs a required InputState.InputState
(String name, boolean required) Construct an InputState. -
Method Summary
-
Constructor Details
-
InputState
Constructs a required InputState. The `required` attribute is set to true.- Parameters:
name
- the attribute name of this state
-
InputState
Construct an InputState.- Parameters:
name
- the attribute name of this staterequired
- whether this state is required for the node to function.
-
-
Method Details
-
name
Gets the attribute name of this input state.- Returns:
- the attribute name of this state
-
required
Returns a boolean indicating whether this state is required by the consuming node in order to function. If false the node must be able to handle the case where this input is missing.- Returns:
- whether this state is required for the node to function.
-