Class TypedValue<T>
- java.lang.Object
-
- jetbrains.buildServer.serverSide.parameters.types.TypedValue<T>
-
public class TypedValue<T> extends java.lang.Object
Created by Andrey Titov on 29.02.16.- Since:
- 10.0
-
-
Constructor Summary
Constructors Constructor Description TypedValue(T value)
TypedValue(T value, ControlDescription controlDescription, ParameterTypeBase<T> parameterType, T defaultValue)
TypedValue(T value, TypedValue<T> other)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ControlDescription
getControlDescription()
T
getDefaultValue()
ParameterTypeBase<T>
getParameterType()
T
getValue()
boolean
isDefault()
boolean
isModifiable()
java.lang.String
validate()
-
-
-
Constructor Detail
-
TypedValue
public TypedValue(@Nullable T value, @Nullable ControlDescription controlDescription, @Nullable ParameterTypeBase<T> parameterType, @Nullable T defaultValue)
-
TypedValue
public TypedValue(@Nullable T value)
-
TypedValue
public TypedValue(@Nullable T value, @NotNull TypedValue<T> other)
-
-
Method Detail
-
getValue
@Nullable public T getValue()
- Returns:
- effective option value - declared, inherited or enforced
-
validate
@Nullable public java.lang.String validate()
-
isModifiable
public boolean isModifiable()
-
getParameterType
@Nullable public ParameterTypeBase<T> getParameterType()
-
getControlDescription
@Nullable public ControlDescription getControlDescription()
-
getDefaultValue
@Nullable public T getDefaultValue()
-
isDefault
public boolean isDefault()
-
-