T
- The type of values represented by this provider.public final class DefinedDefaultBehaviorProvider<T> extends DefaultBehaviorProvider<T>
Constructor and Description |
---|
DefinedDefaultBehaviorProvider(String... values)
Create a new defined default behavior provider associated with the
specified list of values.
|
Modifier and Type | Method and Description |
---|---|
<R,P> R |
accept(DefaultBehaviorProviderVisitor<T,R,P> v,
P p)
Apply a visitor to this default behavior provider.
|
Collection<String> |
getDefaultValues()
Get a copy of the default values.
|
initialize
public DefinedDefaultBehaviorProvider(String... values) throws IllegalArgumentException
values
- The list of values (must be non-null
and not
empty) in their string representation.IllegalArgumentException
- If the list of values was null
or empty.public <R,P> R accept(DefaultBehaviorProviderVisitor<T,R,P> v, P p)
accept
in class DefaultBehaviorProvider<T>
R
- The return type of the visitor's methods.P
- The type of the additional parameters to the visitor's
methods.v
- The default behavior visitor.p
- Optional additional visitor parameter.public Collection<String> getDefaultValues()
Copyright © 2010-2016 ForgeRock AS. All Rights Reserved.