Class Option<T>
java.lang.Object
com.thoughtworks.go.plugin.api.config.Option<T>
- Type Parameters:
T- type for the option value
Deprecated.
Option could be used to specify metadata for a Property.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()Deprecated.Creates copy of this optiongetValue()Deprecated.Gets value for this option<T> booleanhasSameNameAs(Option<T> option) Deprecated.Checks if this option has same name as the provided optionvoidDeprecated.Sets the value for this option
-
Constructor Details
-
Option
Deprecated.
-
-
Method Details
-
setValue
Deprecated.Sets the value for this option- Parameters:
value- the value to be set for this option
-
getValue
Deprecated.Gets value for this option- Returns:
- value for this option
-
copy
Deprecated.Creates copy of this option- Returns:
- copy of this option
-
hasSameNameAs
Deprecated.Checks if this option has same name as the provided option- Type Parameters:
T- type for the option value- Parameters:
option- the option for which name equality has to be checked- Returns:
- true if name matches
-