Package org.apache.storm.generated
Class ShellComponent
java.lang.Object
org.apache.storm.generated.ShellComponent
- All Implemented Interfaces:
- Serializable,- Cloneable,- Comparable<ShellComponent>,- org.apache.storm.thrift.TBase<ShellComponent,,- ShellComponent._Fields> - org.apache.storm.thrift.TSerializable
@Generated("Autogenerated by Thrift Compiler (0.19.0)")
public class ShellComponent
extends Object
implements org.apache.storm.thrift.TBase<ShellComponent,ShellComponent._Fields>, Serializable, Cloneable, Comparable<ShellComponent> 
- See Also:
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic enumThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final Map<ShellComponent._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> 
- 
Constructor SummaryConstructorsConstructorDescriptionShellComponent(String execution_command, String script) ShellComponent(ShellComponent other) Performs a deep copy on other.
- 
Method SummaryModifier and TypeMethodDescriptionvoidclear()intcompareTo(ShellComponent other) deepCopy()booleanbooleanequals(ShellComponent that) fieldForId(int fieldId) inthashCode()booleanReturns true if field execution_command is set (has been assigned a value) and false otherwisebooleanReturns true if field script is set (has been assigned a value) and false otherwisebooleanisSet(ShellComponent._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisevoidread(org.apache.storm.thrift.protocol.TProtocol iprot) voidset_execution_command(String execution_command) voidset_execution_command_isSet(boolean value) voidset_script(String script) voidset_script_isSet(boolean value) voidsetFieldValue(ShellComponent._Fields field, Object value) toString()voidvoidvoidvalidate()voidwrite(org.apache.storm.thrift.protocol.TProtocol oprot) 
- 
Field Details- 
metaDataMappublic static final Map<ShellComponent._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
 
- 
- 
Constructor Details- 
ShellComponentpublic ShellComponent()
- 
ShellComponent
- 
ShellComponentPerforms a deep copy on other.
 
- 
- 
Method Details- 
deepCopy- Specified by:
- deepCopyin interface- org.apache.storm.thrift.TBase<ShellComponent,- ShellComponent._Fields> 
 
- 
clearpublic void clear()- Specified by:
- clearin interface- org.apache.storm.thrift.TBase<ShellComponent,- ShellComponent._Fields> 
 
- 
get_execution_command
- 
set_execution_command
- 
unset_execution_commandpublic void unset_execution_command()
- 
is_set_execution_commandpublic boolean is_set_execution_command()Returns true if field execution_command is set (has been assigned a value) and false otherwise
- 
set_execution_command_isSetpublic void set_execution_command_isSet(boolean value) 
- 
get_script
- 
set_script
- 
unset_scriptpublic void unset_script()
- 
is_set_scriptpublic boolean is_set_script()Returns true if field script is set (has been assigned a value) and false otherwise
- 
set_script_isSetpublic void set_script_isSet(boolean value) 
- 
setFieldValue- Specified by:
- setFieldValuein interface- org.apache.storm.thrift.TBase<ShellComponent,- ShellComponent._Fields> 
 
- 
getFieldValue- Specified by:
- getFieldValuein interface- org.apache.storm.thrift.TBase<ShellComponent,- ShellComponent._Fields> 
 
- 
isSetReturns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
- isSetin interface- org.apache.storm.thrift.TBase<ShellComponent,- ShellComponent._Fields> 
 
- 
equals
- 
equals
- 
hashCodepublic int hashCode()
- 
compareTo- Specified by:
- compareToin interface- Comparable<ShellComponent>
 
- 
fieldForId- Specified by:
- fieldForIdin interface- org.apache.storm.thrift.TBase<ShellComponent,- ShellComponent._Fields> 
 
- 
readpublic void read(org.apache.storm.thrift.protocol.TProtocol iprot) throws org.apache.storm.thrift.TException - Specified by:
- readin interface- org.apache.storm.thrift.TSerializable
- Throws:
- org.apache.storm.thrift.TException
 
- 
writepublic void write(org.apache.storm.thrift.protocol.TProtocol oprot) throws org.apache.storm.thrift.TException - Specified by:
- writein interface- org.apache.storm.thrift.TSerializable
- Throws:
- org.apache.storm.thrift.TException
 
- 
toString
- 
validatepublic void validate() throws org.apache.storm.thrift.TException- Throws:
- org.apache.storm.thrift.TException
 
 
-