Package org.gitlab4j.api.models
Class Variable
java.lang.Object
org.gitlab4j.api.models.Variable
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Enum for the various Commit build status values. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvertMapToList
(Map<String, String> variables) Create a List of Variable from the provided Map.getKey()
getValue()
void
setEnvironmentScope
(String environmentScope) void
void
void
setProtected
(Boolean isProtected) void
void
setVariableType
(Variable.Type variableType) 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
-