Class ProvisioningScriptType

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

    public class ProvisioningScriptType
    extends Object
    implements Serializable, Cloneable, JaxbVisitable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
    Specifies a script to be executed during provisioning.

    Java class for ProvisioningScriptType complex type.

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

     <complexType name="ProvisioningScriptType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="host" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ProvisioningScriptHostType" minOccurs="0"/>
             <element name="language" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
             <element name="argument" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ProvisioningScriptArgumentType" maxOccurs="unbounded" minOccurs="0"/>
             <element name="code" type="{http://www.w3.org/2001/XMLSchema}string"/>
             <element name="criticality" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}CriticalityType" minOccurs="0"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form
    • Constructor Detail

      • ProvisioningScriptType

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

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

      • getLanguage

        public String getLanguage()
        Gets the value of the language property.
        Returns:
        possible object is String
      • setLanguage

        public void setLanguage​(String value)
        Sets the value of the language property.
        Parameters:
        value - allowed object is String
      • getArgument

        public List<ProvisioningScriptArgumentType> getArgument()
        Gets the value of the argument 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 argument property.

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

            getArgument().add(newItem);
         

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

      • getCode

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

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

        public void setCriticality​(CriticalityType value)
        Sets the value of the criticality property.
        Parameters:
        value - allowed object is CriticalityType
      • 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
        Overrides:
        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()
        Overrides:
        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 ProvisioningScriptType clone()
        Creates and returns a deep copy of this object.
        Overrides:
        clone in class Object
        Returns:
        A deep copy of this object.