Class PropertyUsagePoint
java.lang.Object
com.xebialabs.xlrelease.domain.variables.reference.PropertyUsagePoint
- All Implemented Interfaces:
UsagePoint
This usage point means that given property value mentions a variable,
e.g. a string property "Some ${var}" or a list property ['value1', 'value 2 with ${var}"].
-
Constructor Summary
ConstructorsConstructorDescriptionPropertyUsagePoint
(ConfigurationItem item, String property) PropertyUsagePoint
(ConfigurationItem item, String property, VariableReference.VariableUsageType defaultType) PropertyUsagePoint
(CiProperty ciProperty) PropertyUsagePoint
(CiProperty ciProperty, VariableReference.VariableUsageType defaultType) -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
replaceVariable
(Variable variable, VariableOrValue replacement)
-
Constructor Details
-
PropertyUsagePoint
-
PropertyUsagePoint
-
PropertyUsagePoint
-
PropertyUsagePoint
public PropertyUsagePoint(ConfigurationItem item, String property, VariableReference.VariableUsageType defaultType)
-
-
Method Details
-
collectVariables
- Specified by:
collectVariables
in interfaceUsagePoint
-
replaceVariable
- Specified by:
replaceVariable
in interfaceUsagePoint
-
getTargetProperty
- Specified by:
getTargetProperty
in interfaceUsagePoint
-
equals
-
hashCode
public int hashCode()
-