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