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 class
Variable.Type
Enum 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.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()
-
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
-