@groovy.transform.CompileStatic class Parameter extends java.lang.Object
This class represents the CloudBees CD parameter (key-value pair). It could be: - StepParameters item - Config item
Constructor and description |
---|
Parameter
(java.lang.String name, java.lang.String value) |
Type Params | Return Type | Name and description |
---|---|---|
|
java.lang.String |
getName() Returns a name for the current parameter. |
|
java.lang.String |
getValue() Returns a value for the current parameter. |
|
void |
set(java.lang.String name, java.lang.String value) Sets a name for the current parameter. |
|
void |
setName(java.lang.String name) Sets a name for the current parameter. |
|
void |
setValue(java.lang.String value) Sets a value for the current parameter. |
|
java.lang.String |
toString() Overriding default behaviour, so the parameter can be automatically showed in a string context. |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Returns a name for the current parameter.
Returns a value for the current parameter.
Sets a name for the current parameter.
name
- (String)value
- (String)Sets a name for the current parameter.
Sets a value for the current parameter.
value
- new value for the parameterOverriding default behaviour, so the parameter can be automatically showed in a string context.
Groovy Documentation