@Generated(value="Autogenerated by Thrift Compiler (0.9.3)") public class ShellComponent extends Object implements org.apache.thrift.TBase<ShellComponent,ShellComponent._Fields>, Serializable, Cloneable, Comparable<ShellComponent>
Modifier and Type | Class and Description |
---|---|
static class |
ShellComponent._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
static Map<ShellComponent._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
ShellComponent() |
ShellComponent(ShellComponent other)
Performs a deep copy on other.
|
ShellComponent(String execution_command,
String script) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(ShellComponent other) |
ShellComponent |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(ShellComponent that) |
ShellComponent._Fields |
fieldForId(int fieldId) |
String |
get_execution_command() |
String |
get_script() |
Object |
getFieldValue(ShellComponent._Fields field) |
int |
hashCode() |
boolean |
is_set_execution_command()
Returns true if field execution_command is set (has been assigned a value) and false otherwise
|
boolean |
is_set_script()
Returns true if field script is set (has been assigned a value) and false otherwise
|
boolean |
isSet(ShellComponent._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
set_execution_command_isSet(boolean value) |
void |
set_execution_command(String execution_command) |
void |
set_script_isSet(boolean value) |
void |
set_script(String script) |
void |
setFieldValue(ShellComponent._Fields field,
Object value) |
String |
toString() |
void |
unset_execution_command() |
void |
unset_script() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<ShellComponent._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public ShellComponent()
public ShellComponent(ShellComponent other)
Performs a deep copy on other.
public ShellComponent deepCopy()
deepCopy
in interface org.apache.thrift.TBase<ShellComponent,ShellComponent._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<ShellComponent,ShellComponent._Fields>
public String get_execution_command()
public void set_execution_command(String execution_command)
public void unset_execution_command()
public boolean is_set_execution_command()
Returns true if field execution_command is set (has been assigned a value) and false otherwise
public void set_execution_command_isSet(boolean value)
public String get_script()
public void set_script(String script)
public void unset_script()
public boolean is_set_script()
Returns true if field script is set (has been assigned a value) and false otherwise
public void set_script_isSet(boolean value)
public void setFieldValue(ShellComponent._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<ShellComponent,ShellComponent._Fields>
public Object getFieldValue(ShellComponent._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<ShellComponent,ShellComponent._Fields>
public boolean isSet(ShellComponent._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
isSet
in interface org.apache.thrift.TBase<ShellComponent,ShellComponent._Fields>
public boolean equals(ShellComponent that)
public int compareTo(ShellComponent other)
compareTo
in interface Comparable<ShellComponent>
public ShellComponent._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<ShellComponent,ShellComponent._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<ShellComponent,ShellComponent._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TBase<ShellComponent,ShellComponent._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.