org.apache.airavata.experiment.execution
Class NodeSettings

java.lang.Object
  extended by org.apache.airavata.experiment.execution.NodeSettings
All Implemented Interfaces:
Serializable, Cloneable, Comparable<NodeSettings>, org.apache.thrift.TBase<NodeSettings,NodeSettings._Fields>

public class NodeSettings
extends Object
implements org.apache.thrift.TBase<NodeSettings,NodeSettings._Fields>, Serializable, Cloneable, Comparable<NodeSettings>

See Also:
Serialized Form

Nested Class Summary
static class NodeSettings._Fields
          The set of fields this struct contains, along with convenience methods for finding and manipulating them.
 
Field Summary
 HostSchedulingSettings hostSchedulingSettings
           
 HPCSettings hpcSettings
           
static Map<NodeSettings._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
           
 List<NameValuePairType> nameValuePairList
           
 String nodeId
           
 String serviceId
           
 
Constructor Summary
NodeSettings()
           
NodeSettings(NodeSettings other)
          Performs a deep copy on other.
 
Method Summary
 void addToNameValuePairList(NameValuePairType elem)
           
 void clear()
           
 int compareTo(NodeSettings other)
           
 NodeSettings deepCopy()
           
 boolean equals(NodeSettings that)
           
 boolean equals(Object that)
           
 NodeSettings._Fields fieldForId(int fieldId)
           
 Object getFieldValue(NodeSettings._Fields field)
           
 HostSchedulingSettings getHostSchedulingSettings()
           
 HPCSettings getHpcSettings()
           
 List<NameValuePairType> getNameValuePairList()
           
 Iterator<NameValuePairType> getNameValuePairListIterator()
           
 int getNameValuePairListSize()
           
 String getNodeId()
           
 String getServiceId()
           
 int hashCode()
           
 boolean isSet(NodeSettings._Fields field)
          Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
 boolean isSetHostSchedulingSettings()
          Returns true if field hostSchedulingSettings is set (has been assigned a value) and false otherwise
 boolean isSetHpcSettings()
          Returns true if field hpcSettings is set (has been assigned a value) and false otherwise
 boolean isSetNameValuePairList()
          Returns true if field nameValuePairList is set (has been assigned a value) and false otherwise
 boolean isSetNodeId()
          Returns true if field nodeId is set (has been assigned a value) and false otherwise
 boolean isSetServiceId()
          Returns true if field serviceId is set (has been assigned a value) and false otherwise
 void read(org.apache.thrift.protocol.TProtocol iprot)
           
 void setFieldValue(NodeSettings._Fields field, Object value)
           
 NodeSettings setHostSchedulingSettings(HostSchedulingSettings hostSchedulingSettings)
           
 void setHostSchedulingSettingsIsSet(boolean value)
           
 NodeSettings setHpcSettings(HPCSettings hpcSettings)
           
 void setHpcSettingsIsSet(boolean value)
           
 NodeSettings setNameValuePairList(List<NameValuePairType> nameValuePairList)
           
 void setNameValuePairListIsSet(boolean value)
           
 NodeSettings setNodeId(String nodeId)
           
 void setNodeIdIsSet(boolean value)
           
 NodeSettings setServiceId(String serviceId)
           
 void setServiceIdIsSet(boolean value)
           
 String toString()
           
 void unsetHostSchedulingSettings()
           
 void unsetHpcSettings()
           
 void unsetNameValuePairList()
           
 void unsetNodeId()
           
 void unsetServiceId()
           
 void validate()
           
 void write(org.apache.thrift.protocol.TProtocol oprot)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

nodeId

public String nodeId

serviceId

public String serviceId

hostSchedulingSettings

public HostSchedulingSettings hostSchedulingSettings

hpcSettings

public HPCSettings hpcSettings

nameValuePairList

public List<NameValuePairType> nameValuePairList

metaDataMap

public static final Map<NodeSettings._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail

NodeSettings

public NodeSettings()

NodeSettings

public NodeSettings(NodeSettings other)
Performs a deep copy on other.

Method Detail

deepCopy

public NodeSettings deepCopy()
Specified by:
deepCopy in interface org.apache.thrift.TBase<NodeSettings,NodeSettings._Fields>

clear

public void clear()
Specified by:
clear in interface org.apache.thrift.TBase<NodeSettings,NodeSettings._Fields>

getNodeId

public String getNodeId()

setNodeId

public NodeSettings setNodeId(String nodeId)

unsetNodeId

public void unsetNodeId()

isSetNodeId

public boolean isSetNodeId()
Returns true if field nodeId is set (has been assigned a value) and false otherwise


setNodeIdIsSet

public void setNodeIdIsSet(boolean value)

getServiceId

public String getServiceId()

setServiceId

public NodeSettings setServiceId(String serviceId)

unsetServiceId

public void unsetServiceId()

isSetServiceId

public boolean isSetServiceId()
Returns true if field serviceId is set (has been assigned a value) and false otherwise


setServiceIdIsSet

public void setServiceIdIsSet(boolean value)

getHostSchedulingSettings

public HostSchedulingSettings getHostSchedulingSettings()

setHostSchedulingSettings

public NodeSettings setHostSchedulingSettings(HostSchedulingSettings hostSchedulingSettings)

unsetHostSchedulingSettings

public void unsetHostSchedulingSettings()

isSetHostSchedulingSettings

public boolean isSetHostSchedulingSettings()
Returns true if field hostSchedulingSettings is set (has been assigned a value) and false otherwise


setHostSchedulingSettingsIsSet

public void setHostSchedulingSettingsIsSet(boolean value)

getHpcSettings

public HPCSettings getHpcSettings()

setHpcSettings

public NodeSettings setHpcSettings(HPCSettings hpcSettings)

unsetHpcSettings

public void unsetHpcSettings()

isSetHpcSettings

public boolean isSetHpcSettings()
Returns true if field hpcSettings is set (has been assigned a value) and false otherwise


setHpcSettingsIsSet

public void setHpcSettingsIsSet(boolean value)

getNameValuePairListSize

public int getNameValuePairListSize()

getNameValuePairListIterator

public Iterator<NameValuePairType> getNameValuePairListIterator()

addToNameValuePairList

public void addToNameValuePairList(NameValuePairType elem)

getNameValuePairList

public List<NameValuePairType> getNameValuePairList()

setNameValuePairList

public NodeSettings setNameValuePairList(List<NameValuePairType> nameValuePairList)

unsetNameValuePairList

public void unsetNameValuePairList()

isSetNameValuePairList

public boolean isSetNameValuePairList()
Returns true if field nameValuePairList is set (has been assigned a value) and false otherwise


setNameValuePairListIsSet

public void setNameValuePairListIsSet(boolean value)

setFieldValue

public void setFieldValue(NodeSettings._Fields field,
                          Object value)
Specified by:
setFieldValue in interface org.apache.thrift.TBase<NodeSettings,NodeSettings._Fields>

getFieldValue

public Object getFieldValue(NodeSettings._Fields field)
Specified by:
getFieldValue in interface org.apache.thrift.TBase<NodeSettings,NodeSettings._Fields>

isSet

public boolean isSet(NodeSettings._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise

Specified by:
isSet in interface org.apache.thrift.TBase<NodeSettings,NodeSettings._Fields>

equals

public boolean equals(Object that)
Overrides:
equals in class Object

equals

public boolean equals(NodeSettings that)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compareTo

public int compareTo(NodeSettings other)
Specified by:
compareTo in interface Comparable<NodeSettings>

fieldForId

public NodeSettings._Fields fieldForId(int fieldId)
Specified by:
fieldForId in interface org.apache.thrift.TBase<NodeSettings,NodeSettings._Fields>

read

public void read(org.apache.thrift.protocol.TProtocol iprot)
          throws org.apache.thrift.TException
Specified by:
read in interface org.apache.thrift.TBase<NodeSettings,NodeSettings._Fields>
Throws:
org.apache.thrift.TException

write

public void write(org.apache.thrift.protocol.TProtocol oprot)
           throws org.apache.thrift.TException
Specified by:
write in interface org.apache.thrift.TBase<NodeSettings,NodeSettings._Fields>
Throws:
org.apache.thrift.TException

toString

public String toString()
Overrides:
toString in class Object

validate

public void validate()
              throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException


Copyright © 2011-2013 The Apache Software Foundation. All Rights Reserved.