Class Option<T>
java.lang.Object
com.thoughtworks.go.plugin.api.config.Option<T>
- Type Parameters:
T- type for the option value
@Deprecated
public class Option<T>
extends java.lang.Object
Deprecated.
Option could be used to specify metadata for a Property.
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description Option<T>copy()Deprecated.Creates copy of this optionTgetValue()Deprecated.Gets value for this option<T> booleanhasSameNameAs(Option<T> option)Deprecated.Checks if this option has same name as the provided optionvoidsetValue(T value)Deprecated.Sets the value for this optionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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
-