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 Stringcodestatic QNameCOMPLEX_TYPEprotected CommandLineExecutionMethodexecutionMethodstatic ItemNameF_CODEstatic ItemNameF_EXECUTION_METHODstatic ItemNameF_MACROprotected List<ProvisioningScriptArgumentType>macro
-
Constructor Summary
Constructors Constructor Description CommandLineScriptType()Creates a newCommandLineScriptTypeinstance.CommandLineScriptType(CommandLineScriptType o)Creates a newCommandLineScriptTypeinstance by deeply copying a givenCommandLineScriptTypeinstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(JaxbVisitor visitor)ProvisioningScriptArgumentTypebeginMacro()CommandLineScriptTypeclone()Creates and returns a deep copy of this object.CommandLineScriptTypecode(String value)booleanequals(Object object)booleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)CommandLineScriptTypeexecutionMethod(CommandLineExecutionMethod value)StringgetCode()Gets the value of the code property.CommandLineExecutionMethodgetExecutionMethod()Gets the value of the executionMethod property.List<ProvisioningScriptArgumentType>getMacro()Gets the value of the macro property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)CommandLineScriptTypemacro(ProvisioningScriptArgumentType value)voidsetCode(String value)Sets the value of the code property.voidsetExecutionMethod(CommandLineExecutionMethod value)Sets the value of the executionMethod property.StringtoString()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 newCommandLineScriptTypeinstance.
-
CommandLineScriptType
public CommandLineScriptType(CommandLineScriptType o)
Creates a newCommandLineScriptTypeinstance by deeply copying a givenCommandLineScriptTypeinstance.- Parameters:
o- The instance to copy.- Throws:
NullPointerException- ifoisnull.
-
-
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
setmethod 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:
hashCodein 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:
equalsin 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:
acceptin interfaceJaxbVisitable
-
clone
public CommandLineScriptType clone()
Creates and returns a deep copy of this object.
-
-