Class CommandLineScriptType

  • All Implemented Interfaces:
    JaxbVisitable, Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode

    public class CommandLineScriptType
    extends Object
    implements Serializable, Cloneable, JaxbVisitable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
    Specifies a command to be executed on an operating system command-line.

    Java class for CommandLineScriptType complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="CommandLineScriptType">
         <restriction base="{}anyType">
             <element name="macro" type="{}ProvisioningScriptArgumentType" maxOccurs="unbounded" minOccurs="0"/>
             <element name="executionMethod" type="{}CommandLineExecutionMethod"/>
             <element name="code" type="{}string"/>
    See Also:
    Serialized Form
    • Constructor Detail

      • CommandLineScriptType

        public CommandLineScriptType()
        Creates a new CommandLineScriptType instance.
      • CommandLineScriptType

        public CommandLineScriptType​(CommandLineScriptType o)
        Creates a new CommandLineScriptType instance by deeply copying a given CommandLineScriptType instance.
        o - The instance to copy.
        NullPointerException - if o is null.
    • Method Detail

      • getMacro

        public List<ProvisioningScriptArgumentType> getMacro()
        Gets the value of the macro property.

        This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the macro property.

        For example, to add a new item, do as follows:


        Objects of the following type(s) are allowed in the list ProvisioningScriptArgumentType

      • getCode

        public String getCode()
        Gets the value of the code property.
        possible object is String
      • setCode

        public void setCode​(String value)
        Sets the value of the code property.
        value - allowed object is String
      • toString

        public String toString()
        Generates a String representation of the contents of this type. This is an extension method, produced by the 'ts' xjc plugin
        toString in class Object
      • hashCode

        public int hashCode​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                            org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
        Specified by:
        hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode
      • hashCode

        public int hashCode()
        hashCode in class Object
      • equals

        public boolean equals​(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
                              org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
                              Object object,
                              org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
        Specified by:
        equals in interface org.jvnet.jaxb2_commons.lang.Equals
      • clone

        public CommandLineScriptType clone()
        Creates and returns a deep copy of this object.
        clone in class Object
        A deep copy of this object.