public interface Parameter
ActivationStrategy. Users can either use ParameterBuilder for creating a
parameter using a fluent API or implement the interface directly.| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
An optional description of the parameter.
|
String |
getLabel()
A human readable label that describes the parameter.
|
String |
getName()
The name of the parameter.
|
boolean |
isLargeText()
Returns
true if the parameter value is typically large so that it should be displayed with an textarea
instead of a simple text input field. |
boolean |
isOptional()
Returns
true if the parameter is optional. |
boolean |
isValid(String value)
This method allows to implement custom validation logic for the parameter.
|
String getName()
FeatureState.String getLabel()
String getDescription()
null, if no description exists.boolean isOptional()
true if the parameter is optional.boolean isLargeText()
true if the parameter value is typically large so that it should be displayed with an textarea
instead of a simple text input field.boolean isValid(String value)
Copyright © 2018. All Rights Reserved.