Class CommandLineScriptType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.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"> <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>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field 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 Summary
Constructors Constructor Description CommandLineScriptType()
Creates a newCommandLineScriptType
instance.CommandLineScriptType(CommandLineScriptType o)
Creates a newCommandLineScriptType
instance by deeply copying a givenCommandLineScriptType
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Field Detail
-
macro
protected List<ProvisioningScriptArgumentType> macro
-
executionMethod
protected CommandLineExecutionMethod executionMethod
-
code
protected String code
-
COMPLEX_TYPE
public static final QName COMPLEX_TYPE
-
F_MACRO
public static final ItemName F_MACRO
-
F_EXECUTION_METHOD
public static final ItemName F_EXECUTION_METHOD
-
F_CODE
public static final ItemName F_CODE
-
-
Constructor Detail
-
CommandLineScriptType
public CommandLineScriptType()
Creates a newCommandLineScriptType
instance.
-
CommandLineScriptType
public CommandLineScriptType(CommandLineScriptType o)
Creates a newCommandLineScriptType
instance by deeply copying a givenCommandLineScriptType
instance.- Parameters:
o
- The instance to copy.- Throws:
NullPointerException
- ifo
isnull
.
-
-
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:
getMacro().add(newItem);
Objects of the following type(s) are allowed in the list
ProvisioningScriptArgumentType
-
getExecutionMethod
public CommandLineExecutionMethod getExecutionMethod()
Gets the value of the executionMethod property.- Returns:
- possible object is
CommandLineExecutionMethod
-
setExecutionMethod
public void setExecutionMethod(CommandLineExecutionMethod value)
Sets the value of the executionMethod property.- Parameters:
value
- allowed object isCommandLineExecutionMethod
-
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
-
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
-
macro
public CommandLineScriptType macro(ProvisioningScriptArgumentType value)
-
beginMacro
public ProvisioningScriptArgumentType beginMacro()
-
executionMethod
public CommandLineScriptType executionMethod(CommandLineExecutionMethod value)
-
code
public CommandLineScriptType code(String value)
-
accept
public void accept(JaxbVisitor visitor)
- Specified by:
accept
in interfaceJaxbVisitable
-
clone
public CommandLineScriptType clone()
Creates and returns a deep copy of this object.
-
-