public class CommandLineScriptType extends Object implements Serializable, Cloneable, JaxbVisitable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
Java class for CommandLineScriptType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CommandLineScriptType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="macro" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}ProvisioningScriptArgumentType" maxOccurs="unbounded" minOccurs="0"/> <element name="executionMethod" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}CommandLineExecutionMethod"/> <element name="code" type="{http://www.w3.org/2001/XMLSchema}string"/> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected String |
code |
static QName |
COMPLEX_TYPE |
protected CommandLineExecutionMethod |
executionMethod |
static ItemName |
F_CODE |
static ItemName |
F_EXECUTION_METHOD |
static ItemName |
F_MACRO |
protected List<ProvisioningScriptArgumentType> |
macro |
Constructor and Description |
---|
CommandLineScriptType()
Creates a new
CommandLineScriptType instance. |
CommandLineScriptType(CommandLineScriptType o)
Creates a new
CommandLineScriptType instance by deeply copying a given CommandLineScriptType instance. |
Modifier and Type | Method and Description |
---|---|
void |
accept(JaxbVisitor visitor) |
ProvisioningScriptArgumentType |
beginMacro() |
CommandLineScriptType |
clone()
Creates and returns a deep copy of this object.
|
CommandLineScriptType |
code(String 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) |
CommandLineScriptType |
executionMethod(CommandLineExecutionMethod value) |
String |
getCode()
Gets the value of the code property.
|
CommandLineExecutionMethod |
getExecutionMethod()
Gets the value of the executionMethod property.
|
List<ProvisioningScriptArgumentType> |
getMacro()
Gets the value of the macro property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
CommandLineScriptType |
macro(ProvisioningScriptArgumentType value) |
void |
setCode(String value)
Sets the value of the code property.
|
void |
setExecutionMethod(CommandLineExecutionMethod value)
Sets the value of the executionMethod property.
|
String |
toString()
Generates a String representation of the contents of this type.
|
finalize, getClass, notify, notifyAll, wait, wait, wait
visitPrismStructure
protected List<ProvisioningScriptArgumentType> macro
protected CommandLineExecutionMethod executionMethod
protected String code
public static final QName COMPLEX_TYPE
public static final ItemName F_MACRO
public static final ItemName F_EXECUTION_METHOD
public static final ItemName F_CODE
public CommandLineScriptType()
CommandLineScriptType
instance.public CommandLineScriptType(CommandLineScriptType o)
CommandLineScriptType
instance by deeply copying a given CommandLineScriptType
instance.o
- The instance to copy.NullPointerException
- if o
is null
.public List<ProvisioningScriptArgumentType> getMacro()
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:
getMacro().add(newItem);
Objects of the following type(s) are allowed in the list
ProvisioningScriptArgumentType
public CommandLineExecutionMethod getExecutionMethod()
CommandLineExecutionMethod
public void setExecutionMethod(CommandLineExecutionMethod value)
value
- allowed object is
CommandLineExecutionMethod
public String getCode()
String
public void setCode(String value)
value
- allowed object is
String
public String toString()
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode
in interface org.jvnet.jaxb2_commons.lang.HashCode
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)
equals
in interface org.jvnet.jaxb2_commons.lang.Equals
public CommandLineScriptType macro(ProvisioningScriptArgumentType value)
public ProvisioningScriptArgumentType beginMacro()
public CommandLineScriptType executionMethod(CommandLineExecutionMethod value)
public CommandLineScriptType code(String value)
public void accept(JaxbVisitor visitor)
accept
in interface JaxbVisitable
public CommandLineScriptType clone()
Copyright © 2019 Evolveum. All rights reserved.