com.microsoft.wsman.shell.CommandLine Maven / Gradle / Ivy
Show all versions of bedrock-runtime-windows Show documentation
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0
// See https://javaee.github.io/jaxb-v2/
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2022.07.07 at 02:29:03 PM UTC
//
package com.microsoft.wsman.shell;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for CommandLine complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="CommandLine">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Command" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="Arguments" type="{http://schemas.microsoft.com/wbem/wsman/1/windows/shell}ArgumentType" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CommandLine", propOrder = {
"command",
"arguments"
})
public class CommandLine {
@XmlElement(name = "Command", required = true)
protected String command;
@XmlElement(name = "Arguments")
protected List arguments;
/**
* Gets the value of the command property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCommand() {
return command;
}
/**
* Sets the value of the command property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCommand(String value) {
this.command = value;
}
public boolean isSetCommand() {
return (this.command!= null);
}
/**
* Gets the value of the arguments 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 arguments property.
*
*
* For example, to add a new item, do as follows:
*
* getArguments().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getArguments() {
if (arguments == null) {
arguments = new ArrayList();
}
return this.arguments;
}
public boolean isSetArguments() {
return ((this.arguments!= null)&&(!this.arguments.isEmpty()));
}
public void unsetArguments() {
this.arguments = null;
}
}