Class ReferenceVariable

  • All Implemented Interfaces:
    com.xebialabs.deployit.plugin.api.udm.ConfigurationItem, VisitableItem, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem>

    public class ReferenceVariable
    extends StringVariable
    See Also:
    Serialized Form
    • Field Detail

      • VARIABLE_DELEGATE

        public static final java.lang.String VARIABLE_DELEGATE
        See Also:
        Constant Field Values
    • Constructor Detail

      • ReferenceVariable

        public ReferenceVariable()
    • Method Detail

      • getReferencedType

        public java.lang.String getReferencedType()
      • setReferencedType

        public void setReferencedType​(java.lang.String referencedType)
      • setUntypedValue

        public void setUntypedValue​(java.lang.Object newValue)
                             throws java.lang.IllegalArgumentException
        Description copied from class: Variable
        Sets the underlying value of this variable from given object. If a conversion happens to be needed and fails, then an IllegalArgumentException will be thrown.
        Overrides:
        setUntypedValue in class StringVariable
        Parameters:
        newValue - the value to set: either of the type needed by this variable type, or one of convertible types.
        Throws:
        java.lang.IllegalArgumentException - if conversion of the value fails.
      • getInternalValue

        @ControlTask(delegate="RESOLVE_VARIABLE_VALUE")
        public java.lang.Object getInternalValue()
        Overrides:
        getInternalValue in class Variable