public final class Parameter extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Parameter.Builder
Builder to construct Parameter object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static Parameter |
fromAnnotation(Class<?> type,
Parameter parameter)
Builds a Parameter object from the data in the annotation.
|
String |
getDefaultValue()
Getter of the parameter's default value.
|
LocalizableString |
getDescription()
Getter of the parameter description.
|
String[] |
getEnumTitles()
Getter of enum-titles.
|
String[] |
getEnumValues()
Getter of required enum-values.
|
String |
getName()
Getter of the name of the parameter.
|
ParameterSource |
getSource()
Getter of the parameter source.
|
String |
getType()
Getter of the parameter type.
|
int |
hashCode() |
Boolean |
isRequired()
Getter of the required property.
|
static Parameter.Builder |
parameter()
New parameter builder.
|
public String getName()
public String getType()
public String getDefaultValue()
public LocalizableString getDescription()
public ParameterSource getSource()
public Boolean isRequired()
public String[] getEnumValues()
null
public String[] getEnumTitles()
null
public static Parameter.Builder parameter()
public static Parameter fromAnnotation(Class<?> type, Parameter parameter)
type
- The type to resolve LocalizableString
s from.parameter
- The annotation that holds the dataCopyright © 2010-2018, ForgeRock All Rights Reserved.