org.apache.airavata.experiment.execution
Class HPCSettings

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

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

See Also:
Serialized Form

Nested Class Summary
static class HPCSettings._Fields
          The set of fields this struct contains, along with convenience methods for finding and manipulating them.
 
Field Summary
 int cpuCount
           
 String jobManager
           
 int maxWalltime
           
static Map<HPCSettings._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
           
 int nodeCount
           
 String queueName
           
 
Constructor Summary
HPCSettings()
           
HPCSettings(HPCSettings other)
          Performs a deep copy on other.
 
Method Summary
 void clear()
           
 int compareTo(HPCSettings other)
           
 HPCSettings deepCopy()
           
 boolean equals(HPCSettings that)
           
 boolean equals(Object that)
           
 HPCSettings._Fields fieldForId(int fieldId)
           
 int getCpuCount()
           
 Object getFieldValue(HPCSettings._Fields field)
           
 String getJobManager()
           
 int getMaxWalltime()
           
 int getNodeCount()
           
 String getQueueName()
           
 int hashCode()
           
 boolean isSet(HPCSettings._Fields field)
          Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
 boolean isSetCpuCount()
          Returns true if field cpuCount is set (has been assigned a value) and false otherwise
 boolean isSetJobManager()
          Returns true if field jobManager is set (has been assigned a value) and false otherwise
 boolean isSetMaxWalltime()
          Returns true if field maxWalltime is set (has been assigned a value) and false otherwise
 boolean isSetNodeCount()
          Returns true if field nodeCount is set (has been assigned a value) and false otherwise
 boolean isSetQueueName()
          Returns true if field queueName is set (has been assigned a value) and false otherwise
 void read(org.apache.thrift.protocol.TProtocol iprot)
           
 HPCSettings setCpuCount(int cpuCount)
           
 void setCpuCountIsSet(boolean value)
           
 void setFieldValue(HPCSettings._Fields field, Object value)
           
 HPCSettings setJobManager(String jobManager)
           
 void setJobManagerIsSet(boolean value)
           
 HPCSettings setMaxWalltime(int maxWalltime)
           
 void setMaxWalltimeIsSet(boolean value)
           
 HPCSettings setNodeCount(int nodeCount)
           
 void setNodeCountIsSet(boolean value)
           
 HPCSettings setQueueName(String queueName)
           
 void setQueueNameIsSet(boolean value)
           
 String toString()
           
 void unsetCpuCount()
           
 void unsetJobManager()
           
 void unsetMaxWalltime()
           
 void unsetNodeCount()
           
 void unsetQueueName()
           
 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

jobManager

public String jobManager

cpuCount

public int cpuCount

nodeCount

public int nodeCount

queueName

public String queueName

maxWalltime

public int maxWalltime

metaDataMap

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

HPCSettings

public HPCSettings()

HPCSettings

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

Method Detail

deepCopy

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

clear

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

getJobManager

public String getJobManager()

setJobManager

public HPCSettings setJobManager(String jobManager)

unsetJobManager

public void unsetJobManager()

isSetJobManager

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


setJobManagerIsSet

public void setJobManagerIsSet(boolean value)

getCpuCount

public int getCpuCount()

setCpuCount

public HPCSettings setCpuCount(int cpuCount)

unsetCpuCount

public void unsetCpuCount()

isSetCpuCount

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


setCpuCountIsSet

public void setCpuCountIsSet(boolean value)

getNodeCount

public int getNodeCount()

setNodeCount

public HPCSettings setNodeCount(int nodeCount)

unsetNodeCount

public void unsetNodeCount()

isSetNodeCount

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


setNodeCountIsSet

public void setNodeCountIsSet(boolean value)

getQueueName

public String getQueueName()

setQueueName

public HPCSettings setQueueName(String queueName)

unsetQueueName

public void unsetQueueName()

isSetQueueName

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


setQueueNameIsSet

public void setQueueNameIsSet(boolean value)

getMaxWalltime

public int getMaxWalltime()

setMaxWalltime

public HPCSettings setMaxWalltime(int maxWalltime)

unsetMaxWalltime

public void unsetMaxWalltime()

isSetMaxWalltime

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


setMaxWalltimeIsSet

public void setMaxWalltimeIsSet(boolean value)

setFieldValue

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

getFieldValue

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

isSet

public boolean isSet(HPCSettings._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<HPCSettings,HPCSettings._Fields>

equals

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

equals

public boolean equals(HPCSettings that)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compareTo

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

fieldForId

public HPCSettings._Fields fieldForId(int fieldId)
Specified by:
fieldForId in interface org.apache.thrift.TBase<HPCSettings,HPCSettings._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<HPCSettings,HPCSettings._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<HPCSettings,HPCSettings._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.