Class ProvisioningScriptType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.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
-
-
Field Summary
Fields Modifier and Type Field Description protected List<ProvisioningScriptArgumentType>
argument
protected String
code
static QName
COMPLEX_TYPE
protected CriticalityType
criticality
static ItemName
F_ARGUMENT
static ItemName
F_CODE
static ItemName
F_CRITICALITY
static ItemName
F_HOST
static ItemName
F_LANGUAGE
protected ProvisioningScriptHostType
host
protected String
language
-
Constructor Summary
Constructors Constructor Description ProvisioningScriptType()
Creates a newProvisioningScriptType
instance.ProvisioningScriptType(ProvisioningScriptType o)
Creates a newProvisioningScriptType
instance by deeply copying a givenProvisioningScriptType
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(JaxbVisitor visitor)
ProvisioningScriptType
argument(ProvisioningScriptArgumentType value)
ProvisioningScriptArgumentType
beginArgument()
ProvisioningScriptType
clone()
Creates and returns a deep copy of this object.ProvisioningScriptType
code(String value)
ProvisioningScriptType
criticality(CriticalityType value)
boolean
equals(Object object)
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)
List<ProvisioningScriptArgumentType>
getArgument()
Gets the value of the argument property.String
getCode()
Gets the value of the code property.CriticalityType
getCriticality()
Gets the value of the criticality property.ProvisioningScriptHostType
getHost()
Gets the value of the host property.String
getLanguage()
Gets the value of the language property.int
hashCode()
int
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
ProvisioningScriptType
host(ProvisioningScriptHostType value)
ProvisioningScriptType
language(String value)
void
setCode(String value)
Sets the value of the code property.void
setCriticality(CriticalityType value)
Sets the value of the criticality property.void
setHost(ProvisioningScriptHostType value)
Sets the value of the host property.void
setLanguage(String value)
Sets the value of the language property.String
toString()
Generates a String representation of the contents of this type.
-
-
-
Field Detail
-
host
protected ProvisioningScriptHostType host
-
language
protected String language
-
argument
protected List<ProvisioningScriptArgumentType> argument
-
code
protected String code
-
criticality
protected CriticalityType criticality
-
COMPLEX_TYPE
public static final QName COMPLEX_TYPE
-
F_HOST
public static final ItemName F_HOST
-
F_LANGUAGE
public static final ItemName F_LANGUAGE
-
F_ARGUMENT
public static final ItemName F_ARGUMENT
-
F_CODE
public static final ItemName F_CODE
-
F_CRITICALITY
public static final ItemName F_CRITICALITY
-
-
Constructor Detail
-
ProvisioningScriptType
public ProvisioningScriptType()
Creates a newProvisioningScriptType
instance.
-
ProvisioningScriptType
public ProvisioningScriptType(ProvisioningScriptType o)
Creates a newProvisioningScriptType
instance by deeply copying a givenProvisioningScriptType
instance.- Parameters:
o
- The instance to copy.- Throws:
NullPointerException
- ifo
isnull
.
-
-
Method Detail
-
getHost
public ProvisioningScriptHostType getHost()
Gets the value of the host property.- Returns:
- possible object is
ProvisioningScriptHostType
-
setHost
public void setHost(ProvisioningScriptHostType value)
Sets the value of the host property.- Parameters:
value
- allowed object isProvisioningScriptHostType
-
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 isString
-
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 isString
-
getCriticality
public CriticalityType getCriticality()
Gets the value of the criticality property.- Returns:
- possible object is
CriticalityType
-
setCriticality
public void setCriticality(CriticalityType value)
Sets the value of the criticality property.- Parameters:
value
- allowed object isCriticalityType
-
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
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
- Specified by:
hashCode
in interfaceorg.jvnet.jaxb2_commons.lang.HashCode
-
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 interfaceorg.jvnet.jaxb2_commons.lang.Equals
-
host
public ProvisioningScriptType host(ProvisioningScriptHostType value)
-
language
public ProvisioningScriptType language(String value)
-
argument
public ProvisioningScriptType argument(ProvisioningScriptArgumentType value)
-
beginArgument
public ProvisioningScriptArgumentType beginArgument()
-
code
public ProvisioningScriptType code(String value)
-
criticality
public ProvisioningScriptType criticality(CriticalityType value)
-
accept
public void accept(JaxbVisitor visitor)
- Specified by:
accept
in interfaceJaxbVisitable
-
clone
public ProvisioningScriptType clone()
Creates and returns a deep copy of this object.
-
-