T - type for the option value@Deprecated
public class Option<T>
extends java.lang.Object
| Constructor and Description |
|---|
Option(java.lang.String name,
T value)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Option<T> |
copy()
Deprecated.
Creates copy of this option
|
T |
getValue()
Deprecated.
Gets value for this option
|
<T> boolean |
hasSameNameAs(Option<T> option)
Deprecated.
Checks if this option has same name as the provided option
|
void |
setValue(T value)
Deprecated.
Sets the value for this option
|
public Option(java.lang.String name,
T value)
public void setValue(T value)
value - the value to be set for this optionpublic T getValue()
public <T> boolean hasSameNameAs(Option<T> option)
T - type for the option valueoption - the option for which name equality has to be checkedCopyright © 2019 ThoughtWorks, Inc. GoCD Version: 19.2.0-8641