Package com.xebialabs.xlrelease.builder
Class VariableBuilder<V,C extends Variable.VariableWithValue<V>>
java.lang.Object
com.xebialabs.xlrelease.builder.VariableBuilder<V,C>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
isInherited
(boolean inherited) static VariableBuilder<Boolean,
BooleanVariable> newBooleanVariable
(String k, Boolean v) static VariableBuilder<Date,
DateVariable> newDateVariable
(String k, Date v) static StringVariable
newGlobalVariable
(String k, String v) static VariableBuilder<Integer,
IntegerVariable> newIntegerVariable
(String k, Integer v) static VariableBuilder<List<String>,
ListStringVariable> newListStringVariable
(String k, List<String> v) static VariableBuilder<String,
ReferenceVariable> newReferenceVariable
(String k, String v, String referencedType) static VariableBuilder<Set<String>,
SetStringVariable> newSetStringVariable
(String k, Set<String> v) static VariableBuilder<String,
StringVariable> newStringVariable
(String k, String v) static StringVariable
newVariable
(String k, String v) withDescription
(String description) withExternalValue
(String externalValue) withFolderId
(String folderId) withPreventInterpolation
(boolean preventInterpolation) withReferencedType
(String referencedType) withRequiresValue
(boolean value) withShowOnReleaseStart
(boolean value) withValueProvider
(ValueProviderConfiguration valueProvider)
-
Constructor Details
-
VariableBuilder
-
-
Method Details
-
newVariable
-
newGlobalVariable
-
newStringVariable
-
newPasswordStringVariable
public static VariableBuilder<String,PasswordStringVariable> newPasswordStringVariable(String k, String v) -
newExternalPasswordVariable
public static VariableBuilder<String,PasswordStringVariable> newExternalPasswordVariable(String k, String v) -
newListStringVariable
public static VariableBuilder<List<String>,ListStringVariable> newListStringVariable(String k, List<String> v) -
newSetStringVariable
public static VariableBuilder<Set<String>,SetStringVariable> newSetStringVariable(String k, Set<String> v) -
newMapStringStringVariable
public static VariableBuilder<Map<String,String>, newMapStringStringVariableMapStringStringVariable> (String k, Map<String, String> v) -
newBooleanVariable
-
newIntegerVariable
-
newDateVariable
-
newReferenceVariable
public static VariableBuilder<String,ReferenceVariable> newReferenceVariable(String k, String v, String referencedType) -
withId
-
withRequiresValue
-
withShowOnReleaseStart
-
withLabel
-
withFolderId
-
withDescription
-
withValueProvider
-
withExternalValue
-
withPreventInterpolation
-
isInherited
-
withReferencedType
-
build
-