Package org.gitlab4j.api.models
Class Variable
- java.lang.Object
-
- org.gitlab4j.api.models.Variable
-
public class Variable extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static List<Variable>convertMapToList(Map<String,String> variables)Create a List of Variable from the provided Map.StringgetEnvironmentScope()StringgetKey()BooleangetProtected()StringgetValue()voidsetEnvironmentScope(String environmentScope)voidsetKey(String key)voidsetProtected(Boolean isProtected)voidsetValue(String value)StringtoString()
-
-
-
Method Detail
-
getKey
public String getKey()
-
setKey
public void setKey(String key)
-
getValue
public String getValue()
-
setValue
public void setValue(String value)
-
getProtected
public Boolean getProtected()
-
setProtected
public void setProtected(Boolean isProtected)
-
getEnvironmentScope
public String getEnvironmentScope()
-
setEnvironmentScope
public void setEnvironmentScope(String environmentScope)
-
convertMapToList
public static final List<Variable> convertMapToList(Map<String,String> variables)
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
-
-