| Package | Description |
|---|---|
| com.thoughtworks.go.plugin.api.config |
| Modifier and Type | Field and Description |
|---|---|
static Option<String> |
Property.DISPLAY_NAME
Option to specify the display name for the property
|
static Option<Integer> |
Property.DISPLAY_ORDER
Option to specify order of display of property on screen
|
static Option<Boolean> |
Property.PART_OF_IDENTITY
Option to specify if a property is part of group of properties used to uniquely identify material
|
static Option<Boolean> |
Property.REQUIRED
Option to specify if a property is a mandatory when configuration is captured
|
static Option<Boolean> |
Property.SECURE
Option to specify if a property is a secure property.
|
| Modifier and Type | Method and Description |
|---|---|
Option<T> |
Option.copy()
Creates copy of this option
|
<T> Option<T> |
Options.findOption(Option<T> option)
Finds matching option by option name
|
| Modifier and Type | Method and Description |
|---|---|
<T> void |
Options.add(Option<T> option)
Adds given option to container
|
<T> void |
Options.addOrSet(Option<T> option,
T value) |
<T> Option<T> |
Options.findOption(Option<T> option)
Finds matching option by option name
|
<T> T |
Property.getOption(Option<T> option)
Gets value for given option
|
<T> boolean |
Options.hasOption(Option<T> option) |
<T> boolean |
Option.hasSameNameAs(Option<T> option)
Checks if this option has same name as the provided option
|
<T> void |
Options.set(Option<T> option,
T value)
Finds matching option by option name and sets specified value
|
<T> Property |
Property.with(Option<T> option,
T value)
Adds an option
|
Copyright © 2014 ThoughtWorks, Inc. Go Version: 16.2.1-175