public class Shell extends Object
Java class for Shell complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Shell">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="ShellId" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
<element name="Environment" type="{http://schemas.microsoft.com/wbem/wsman/1/windows/shell}EnvironmentVariableList" minOccurs="0"/>
<element name="WorkingDirectory" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="Lifetime" type="{http://www.w3.org/2001/XMLSchema}duration" minOccurs="0"/>
<element name="IdleTimeout" type="{http://www.w3.org/2001/XMLSchema}duration" minOccurs="0"/>
<element name="InputStreams" minOccurs="0">
<simpleType>
<list itemType="{http://www.w3.org/2001/XMLSchema}string" />
</simpleType>
</element>
<element name="OutputStreams" minOccurs="0">
<simpleType>
<list itemType="{http://www.w3.org/2001/XMLSchema}string" />
</simpleType>
</element>
<any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<Object> |
any |
protected EnvironmentVariableList |
environment |
protected Duration |
idleTimeout |
protected List<String> |
inputStreams |
protected Duration |
lifetime |
protected List<String> |
outputStreams |
protected String |
shellId |
protected String |
workingDirectory |
| Constructor and Description |
|---|
Shell() |
| Modifier and Type | Method and Description |
|---|---|
List<Object> |
getAny()
Gets the value of the any property.
|
EnvironmentVariableList |
getEnvironment()
Gets the value of the environment property.
|
Duration |
getIdleTimeout()
Gets the value of the idleTimeout property.
|
List<String> |
getInputStreams()
Gets the value of the inputStreams property.
|
Duration |
getLifetime()
Gets the value of the lifetime property.
|
List<String> |
getOutputStreams()
Gets the value of the outputStreams property.
|
String |
getShellId()
Gets the value of the shellId property.
|
String |
getWorkingDirectory()
Gets the value of the workingDirectory property.
|
void |
setEnvironment(EnvironmentVariableList value)
Sets the value of the environment property.
|
void |
setIdleTimeout(Duration value)
Sets the value of the idleTimeout property.
|
void |
setLifetime(Duration value)
Sets the value of the lifetime property.
|
void |
setShellId(String value)
Sets the value of the shellId property.
|
void |
setWorkingDirectory(String value)
Sets the value of the workingDirectory property.
|
protected String shellId
protected EnvironmentVariableList environment
protected String workingDirectory
protected Duration lifetime
protected Duration idleTimeout
public String getShellId()
Stringpublic void setShellId(String value)
value - allowed object is
Stringpublic EnvironmentVariableList getEnvironment()
EnvironmentVariableListpublic void setEnvironment(EnvironmentVariableList value)
value - allowed object is
EnvironmentVariableListpublic String getWorkingDirectory()
Stringpublic void setWorkingDirectory(String value)
value - allowed object is
Stringpublic Duration getLifetime()
Durationpublic void setLifetime(Duration value)
value - allowed object is
Durationpublic Duration getIdleTimeout()
Durationpublic void setIdleTimeout(Duration value)
value - allowed object is
Durationpublic List<String> getInputStreams()
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 inputStreams property.
For example, to add a new item, do as follows:
getInputStreams().add(newItem);
Objects of the following type(s) are allowed in the list
String
public List<String> getOutputStreams()
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 outputStreams property.
For example, to add a new item, do as follows:
getOutputStreams().add(newItem);
Objects of the following type(s) are allowed in the list
String
public List<Object> getAny()
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 any property.
For example, to add a new item, do as follows:
getAny().add(newItem);
Objects of the following type(s) are allowed in the list
Object
Element
Copyright © 2017. All rights reserved.