public class ParallelEnvironmentImpl extends GEObjectImpl implements ParallelEnvironment
Warning: The ParallelEnvironmentImpl class will not be compatible with future Sun™ Grid Engine releases.
Constructor and Description |
---|
ParallelEnvironmentImpl()
Create a new instance of ParallelEnvironmentImpl.
|
ParallelEnvironmentImpl(boolean initWithDefaultValues)
Create a new instanceof
|
ParallelEnvironmentImpl(java.lang.String name)
Create a new instance of ParallelEnvironmentImpl
|
Modifier and Type | Method and Description |
---|---|
void |
addUser(UserSet auser)
Add a com.sun.grid.jgdi.configuration.UserSet attribute.
|
void |
addXuser(UserSet axuser)
Add a com.sun.grid.jgdi.configuration.UserSet attribute.
|
java.lang.String |
dump() |
boolean |
equals(java.lang.Object obj)
Is the primary key information equal to the primary key information
of
obj . |
boolean |
equalsCompletely(java.lang.Object obj) |
java.lang.String |
getAllocationRule()
Get the value of the allocationRule attribute.
|
java.lang.String |
getName()
Get the value of the name attribute.
|
java.lang.String |
getQsortArgs()
Get the value of the qsortArgs attribute.
|
int |
getSlots()
Get the value of the slots attribute.
|
java.lang.String |
getStartProcArgs()
Get the value of the startProcArgs attribute.
|
java.lang.String |
getStopProcArgs()
Get the value of the stopProcArgs attribute.
|
java.lang.String |
getUrgencySlots()
Get the value of the urgencySlots attribute.
|
UserSet |
getUser(int index)
Get a com.sun.grid.jgdi.configuration.UserSet attribute at an index.
|
int |
getUserCount()
Get the number of com.sun.grid.jgdi.configuration.UserSet attributes.
|
java.util.List<UserSet> |
getUserList()
Get a unmodifiable list of all com.sun.grid.jgdi.configuration.UserSet attributes.
|
UserSet |
getXuser(int index)
Get a com.sun.grid.jgdi.configuration.UserSet attribute at an index.
|
int |
getXuserCount()
Get the number of com.sun.grid.jgdi.configuration.UserSet attributes.
|
java.util.List<UserSet> |
getXuserList()
Get a unmodifiable list of all com.sun.grid.jgdi.configuration.UserSet attributes.
|
boolean |
isAccountingSummary()
Get the value of the accountingSummary attribute.
|
boolean |
isControlSlaves()
Get the value of the controlSlaves attribute.
|
boolean |
isJobIsFirstTask()
Get the value of the jobIsFirstTask attribute.
|
boolean |
isSetAccountingSummary()
Determine if the accountingSummary attribute is set
|
boolean |
isSetAllocationRule()
Determine if the allocationRule attribute is set
|
boolean |
isSetControlSlaves()
Determine if the controlSlaves attribute is set
|
boolean |
isSetJobIsFirstTask()
Determine if the jobIsFirstTask attribute is set
|
boolean |
isSetName()
Determine if the name attribute is set
|
boolean |
isSetQsortArgs()
Determine if the qsortArgs attribute is set
|
boolean |
isSetSlots()
Determine if the slots attribute is set
|
boolean |
isSetStartProcArgs()
Determine if the startProcArgs attribute is set
|
boolean |
isSetStopProcArgs()
Determine if the stopProcArgs attribute is set
|
boolean |
isSetUrgencySlots()
Determine if the urgencySlots attribute is set
|
boolean |
isSetUser()
Determine if the user attribute is set
|
boolean |
isSetXuser()
Determine if the xuser attribute is set
|
void |
removeAllUser()
Remove all com.sun.grid.jgdi.configuration.UserSet attributes.
|
void |
removeAllXuser()
Remove all com.sun.grid.jgdi.configuration.UserSet attributes.
|
UserSet |
removeUser(int index)
Remote a com.sun.grid.jgdi.configuration.UserSet attribute at an index.
|
boolean |
removeUser(UserSet auser)
Remote a specific com.sun.grid.jgdi.configuration.UserSet attribute.
|
UserSet |
removeXuser(int index)
Remote a com.sun.grid.jgdi.configuration.UserSet attribute at an index.
|
boolean |
removeXuser(UserSet axuser)
Remote a specific com.sun.grid.jgdi.configuration.UserSet attribute.
|
void |
setAccountingSummary(boolean aAccountingSummary)
Set the accountingSummary attribute.
|
void |
setAllocationRule(java.lang.String aAllocationRule)
Set the allocationRule attribute.
|
void |
setControlSlaves(boolean aControlSlaves)
Set the controlSlaves attribute.
|
void |
setJobIsFirstTask(boolean aJobIsFirstTask)
Set the jobIsFirstTask attribute.
|
void |
setName(java.lang.String aName)
Set the name attribute.
|
void |
setQsortArgs(java.lang.String aQsortArgs)
Set the qsortArgs attribute.
|
void |
setSlots(int aSlots)
Set the slots attribute.
|
void |
setStartProcArgs(java.lang.String aStartProcArgs)
Set the startProcArgs attribute.
|
void |
setStopProcArgs(java.lang.String aStopProcArgs)
Set the stopProcArgs attribute.
|
void |
setUrgencySlots(java.lang.String aUrgencySlots)
Set the urgencySlots attribute.
|
void |
setUser(int index,
UserSet auser)
Set a com.sun.grid.jgdi.configuration.UserSet attribute.
|
void |
setXuser(int index,
UserSet axuser)
Set a com.sun.grid.jgdi.configuration.UserSet attribute.
|
java.lang.String |
toString() |
getParent, getPathName, getRoot, setParent
public ParallelEnvironmentImpl()
public ParallelEnvironmentImpl(boolean initWithDefaultValues)
initWithDefaultValues
- if true
the new instance will
be initialized with the default values as defined
in the cull definition.public ParallelEnvironmentImpl(java.lang.String name)
public boolean isSetName()
isSetName
in interface ParallelEnvironment
true
if the name attribute is setpublic void setName(java.lang.String aName)
setName
in interface ParallelEnvironment
setName
in class GEObjectImpl
aName
- the new value for the name attributepublic java.lang.String getName()
getName
in interface GEObject
getName
in interface ParallelEnvironment
getName
in class GEObjectImpl
public boolean isSetSlots()
isSetSlots
in interface ParallelEnvironment
true
if the slots attribute is setpublic void setSlots(int aSlots)
setSlots
in interface ParallelEnvironment
aSlots
- the new value for the slots attributepublic int getSlots()
getSlots
in interface ParallelEnvironment
public void addUser(UserSet auser)
addUser
in interface ParallelEnvironment
auser
- the new com.sun.grid.jgdi.configuration.UserSet attributepublic void setUser(int index, UserSet auser)
setUser
in interface ParallelEnvironment
index
- index of the com.sun.grid.jgdi.configuration.UserSet attributeauser
- the new com.sun.grid.jgdi.configuration.UserSet attributepublic void removeAllUser()
removeAllUser
in interface ParallelEnvironment
public UserSet removeUser(int index)
removeUser
in interface ParallelEnvironment
index
- the index of the com.sun.grid.jgdi.configuration.UserSet attribute which should be
removednull
if
no attribute at this index is storedpublic boolean removeUser(UserSet auser)
removeUser
in interface ParallelEnvironment
auser
- the com.sun.grid.jgdi.configuration.UserSet attribute which should be
removedtrue
if the com.sun.grid.jgdi.configuration.UserSet attribute has been removedpublic java.util.List<UserSet> getUserList()
getUserList
in interface ParallelEnvironment
public int getUserCount()
getUserCount
in interface ParallelEnvironment
public UserSet getUser(int index)
getUser
in interface ParallelEnvironment
index
- the index of the com.sun.grid.jgdi.configuration.UserSet attribute which should be
removedpublic boolean isSetUser()
isSetUser
in interface ParallelEnvironment
true
if the user attribute is setpublic void addXuser(UserSet axuser)
addXuser
in interface ParallelEnvironment
axuser
- the new com.sun.grid.jgdi.configuration.UserSet attributepublic void setXuser(int index, UserSet axuser)
setXuser
in interface ParallelEnvironment
index
- index of the com.sun.grid.jgdi.configuration.UserSet attributeaxuser
- the new com.sun.grid.jgdi.configuration.UserSet attributepublic void removeAllXuser()
removeAllXuser
in interface ParallelEnvironment
public UserSet removeXuser(int index)
removeXuser
in interface ParallelEnvironment
index
- the index of the com.sun.grid.jgdi.configuration.UserSet attribute which should be
removednull
if
no attribute at this index is storedpublic boolean removeXuser(UserSet axuser)
removeXuser
in interface ParallelEnvironment
axuser
- the com.sun.grid.jgdi.configuration.UserSet attribute which should be
removedtrue
if the com.sun.grid.jgdi.configuration.UserSet attribute has been removedpublic java.util.List<UserSet> getXuserList()
getXuserList
in interface ParallelEnvironment
public int getXuserCount()
getXuserCount
in interface ParallelEnvironment
public UserSet getXuser(int index)
getXuser
in interface ParallelEnvironment
index
- the index of the com.sun.grid.jgdi.configuration.UserSet attribute which should be
removedpublic boolean isSetXuser()
isSetXuser
in interface ParallelEnvironment
true
if the xuser attribute is setpublic boolean isSetStartProcArgs()
isSetStartProcArgs
in interface ParallelEnvironment
true
if the startProcArgs attribute is setpublic void setStartProcArgs(java.lang.String aStartProcArgs)
setStartProcArgs
in interface ParallelEnvironment
aStartProcArgs
- the new value for the startProcArgs attributepublic java.lang.String getStartProcArgs()
getStartProcArgs
in interface ParallelEnvironment
public boolean isSetStopProcArgs()
isSetStopProcArgs
in interface ParallelEnvironment
true
if the stopProcArgs attribute is setpublic void setStopProcArgs(java.lang.String aStopProcArgs)
setStopProcArgs
in interface ParallelEnvironment
aStopProcArgs
- the new value for the stopProcArgs attributepublic java.lang.String getStopProcArgs()
getStopProcArgs
in interface ParallelEnvironment
public boolean isSetAllocationRule()
isSetAllocationRule
in interface ParallelEnvironment
true
if the allocationRule attribute is setpublic void setAllocationRule(java.lang.String aAllocationRule)
setAllocationRule
in interface ParallelEnvironment
aAllocationRule
- the new value for the allocationRule attributepublic java.lang.String getAllocationRule()
getAllocationRule
in interface ParallelEnvironment
public boolean isSetControlSlaves()
isSetControlSlaves
in interface ParallelEnvironment
true
if the controlSlaves attribute is setpublic void setControlSlaves(boolean aControlSlaves)
setControlSlaves
in interface ParallelEnvironment
aControlSlaves
- the new value for the controlSlaves attributepublic boolean isControlSlaves()
isControlSlaves
in interface ParallelEnvironment
public boolean isSetJobIsFirstTask()
isSetJobIsFirstTask
in interface ParallelEnvironment
true
if the jobIsFirstTask attribute is setpublic void setJobIsFirstTask(boolean aJobIsFirstTask)
setJobIsFirstTask
in interface ParallelEnvironment
aJobIsFirstTask
- the new value for the jobIsFirstTask attributepublic boolean isJobIsFirstTask()
isJobIsFirstTask
in interface ParallelEnvironment
public boolean isSetUrgencySlots()
isSetUrgencySlots
in interface ParallelEnvironment
true
if the urgencySlots attribute is setpublic void setUrgencySlots(java.lang.String aUrgencySlots)
setUrgencySlots
in interface ParallelEnvironment
aUrgencySlots
- the new value for the urgencySlots attributepublic java.lang.String getUrgencySlots()
getUrgencySlots
in interface ParallelEnvironment
public boolean isSetAccountingSummary()
isSetAccountingSummary
in interface ParallelEnvironment
true
if the accountingSummary attribute is setpublic void setAccountingSummary(boolean aAccountingSummary)
setAccountingSummary
in interface ParallelEnvironment
aAccountingSummary
- the new value for the accountingSummary attributepublic boolean isAccountingSummary()
isAccountingSummary
in interface ParallelEnvironment
public boolean isSetQsortArgs()
isSetQsortArgs
in interface ParallelEnvironment
true
if the qsortArgs attribute is setpublic void setQsortArgs(java.lang.String aQsortArgs)
setQsortArgs
in interface ParallelEnvironment
aQsortArgs
- the new value for the qsortArgs attributepublic java.lang.String getQsortArgs()
getQsortArgs
in interface ParallelEnvironment
public boolean equals(java.lang.Object obj)
obj
.equals
in class java.lang.Object
obj
- the compared objecttrue
if the primary key information is equal to the
primary key informations of obj
.public boolean equalsCompletely(java.lang.Object obj)
equalsCompletely
in interface GEObject
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String dump()
dump
in interface ParallelEnvironment
Copyright © 2007 Sun Microsystems, Inc. All rights reserved.