public class Variable extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Variable.Type
Enum for the various Commit build status values.
|
Constructor and Description |
---|
Variable() |
Variable(String key,
String value) |
Modifier and Type | Method and Description |
---|---|
static List<Variable> |
convertMapToList(Map<String,String> variables)
Create a List of Variable from the provided Map.
|
String |
getEnvironmentScope() |
String |
getKey() |
Boolean |
getMasked() |
Boolean |
getProtected() |
String |
getValue() |
Variable.Type |
getVariableType() |
void |
setEnvironmentScope(String environmentScope) |
void |
setKey(String key) |
void |
setMasked(Boolean masked) |
void |
setProtected(Boolean isProtected) |
void |
setValue(String value) |
void |
setVariableType(Variable.Type variableType) |
String |
toString() |
public String getKey()
public void setKey(String key)
public String getValue()
public void setValue(String value)
public Variable.Type getVariableType()
public void setVariableType(Variable.Type variableType)
public Boolean getProtected()
public void setProtected(Boolean isProtected)
public Boolean getMasked()
public void setMasked(Boolean masked)
public String getEnvironmentScope()
public void setEnvironmentScope(String environmentScope)
public static final List<Variable> convertMapToList(Map<String,String> variables)
variables
- the Map to convert to a List of VariableCopyright © 2019. All rights reserved.