Package org.gitlab4j.api.models
Class Variable
java.lang.Object
org.gitlab4j.api.models.Variable
public class Variable extends Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVariable.TypeEnum for the various Commit build status values. -
Constructor Summary
-
Method Summary
Modifier and Type Method Description static List<Variable>convertMapToList(Map<String,String> variables)Create a List of Variable from the provided Map.StringgetEnvironmentScope()StringgetKey()BooleangetMasked()BooleangetProtected()StringgetValue()Variable.TypegetVariableType()voidsetEnvironmentScope(String environmentScope)voidsetKey(String key)voidsetMasked(Boolean masked)voidsetProtected(Boolean isProtected)voidsetValue(String value)voidsetVariableType(Variable.Type variableType)StringtoString()
-
Constructor Details
-
Variable
public Variable() -
Variable
-
-
Method Details
-
getKey
-
setKey
-
getValue
-
setValue
-
getVariableType
-
setVariableType
-
getProtected
-
setProtected
-
getMasked
-
setMasked
-
getEnvironmentScope
-
setEnvironmentScope
-
toString
-
convertMapToList
Create a List of Variable from the provided Map.- Parameters:
variables- the Map to convert to a List of Variable- Returns:
- the List of Variable containing the keys and values from the Map, or null if the Map is null
-