public class ExecHostImpl extends GEObjectImpl implements ExecHost
Warning: The ExecHostImpl class will not be compatible with future Sun™ Grid Engine releases.
| Constructor and Description |
|---|
ExecHostImpl()
Create a new instance of ExecHostImpl.
|
ExecHostImpl(boolean initWithDefaultValues)
Create a new instanceof
|
ExecHostImpl(java.lang.String name)
Create a new instance of ExecHostImpl
|
| Modifier and Type | Method and Description |
|---|---|
void |
addAcl(UserSet aacl)
Add a com.sun.grid.jgdi.configuration.UserSet attribute.
|
void |
addConsumableConfig(ComplexEntry aconsumableConfig)
Add a com.sun.grid.jgdi.configuration.ComplexEntry attribute.
|
void |
addPrj(Project aprj)
Add a com.sun.grid.jgdi.configuration.Project attribute.
|
void |
addReportVariables(java.lang.String areportVariables)
Add a java.lang.String attribute.
|
void |
addXacl(UserSet axacl)
Add a com.sun.grid.jgdi.configuration.UserSet attribute.
|
void |
addXprj(Project axprj)
Add a com.sun.grid.jgdi.configuration.Project 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) |
UserSet |
getAcl(int index)
Get a com.sun.grid.jgdi.configuration.UserSet attribute at an index.
|
int |
getAclCount()
Get the number of com.sun.grid.jgdi.configuration.UserSet attributes.
|
java.util.List<UserSet> |
getAclList()
Get a unmodifiable list of all com.sun.grid.jgdi.configuration.UserSet attributes.
|
ComplexEntry |
getConsumableConfig(int index)
Get a com.sun.grid.jgdi.configuration.ComplexEntry attribute at an index.
|
int |
getConsumableConfigCount()
Get the number of com.sun.grid.jgdi.configuration.ComplexEntry attributes.
|
java.util.List<ComplexEntry> |
getConsumableConfigList()
Get a unmodifiable list of all com.sun.grid.jgdi.configuration.ComplexEntry attributes.
|
java.lang.String |
getDefaultLoad()
Get the default value of the attribute load.
|
double |
getDefaultScaling()
Get the default value of the attribute scaling.
|
double |
getDefaultUsageScaling()
Get the default value of the attribute usageScaling.
|
java.lang.String |
getLoad(java.lang.String key)
Get the load attribute for a key.
|
int |
getLoadCount()
Get the number of keys which have the attribute load set.
|
java.util.Set<java.lang.String> |
getLoadKeys()
Get the set of keys which have the attribute load set.
|
java.lang.String |
getName()
Get the value of the name attribute.
|
Project |
getPrj(int index)
Get a com.sun.grid.jgdi.configuration.Project attribute at an index.
|
int |
getPrjCount()
Get the number of com.sun.grid.jgdi.configuration.Project attributes.
|
java.util.List<Project> |
getPrjList()
Get a unmodifiable list of all com.sun.grid.jgdi.configuration.Project attributes.
|
int |
getProcessors()
Get the value of the processors attribute.
|
java.lang.String |
getReportVariables(int index)
Get a java.lang.String attribute at an index.
|
int |
getReportVariablesCount()
Get the number of java.lang.String attributes.
|
java.util.List<java.lang.String> |
getReportVariablesList()
Get a unmodifiable list of all java.lang.String attributes.
|
double |
getScaling(java.lang.String key)
Get the scaling attribute for a key.
|
int |
getScalingCount()
Get the number of keys which have the attribute scaling set.
|
java.util.Set<java.lang.String> |
getScalingKeys()
Get the set of keys which have the attribute scaling set.
|
double |
getUsageScaling(java.lang.String key)
Get the usageScaling attribute for a key.
|
int |
getUsageScalingCount()
Get the number of keys which have the attribute usageScaling set.
|
java.util.Set<java.lang.String> |
getUsageScalingKeys()
Get the set of keys which have the attribute usageScaling set.
|
UserSet |
getXacl(int index)
Get a com.sun.grid.jgdi.configuration.UserSet attribute at an index.
|
int |
getXaclCount()
Get the number of com.sun.grid.jgdi.configuration.UserSet attributes.
|
java.util.List<UserSet> |
getXaclList()
Get a unmodifiable list of all com.sun.grid.jgdi.configuration.UserSet attributes.
|
Project |
getXprj(int index)
Get a com.sun.grid.jgdi.configuration.Project attribute at an index.
|
int |
getXprjCount()
Get the number of com.sun.grid.jgdi.configuration.Project attributes.
|
java.util.List<Project> |
getXprjList()
Get a unmodifiable list of all com.sun.grid.jgdi.configuration.Project attributes.
|
boolean |
isSetAcl()
Determine if the acl attribute is set
|
boolean |
isSetConsumableConfig()
Determine if the consumableConfig attribute is set
|
boolean |
isSetLoad()
Determine if any load attribute is set
|
boolean |
isSetLoad(java.lang.String key)
Determine if any load attribute is for a key is set
|
boolean |
isSetName()
Determine if the name attribute is set
|
boolean |
isSetPrj()
Determine if the prj attribute is set
|
boolean |
isSetProcessors()
Determine if the processors attribute is set
|
boolean |
isSetReportVariables()
Determine if the reportVariables attribute is set
|
boolean |
isSetScaling()
Determine if any scaling attribute is set
|
boolean |
isSetScaling(java.lang.String key)
Determine if any scaling attribute is for a key is set
|
boolean |
isSetUsageScaling()
Determine if any usageScaling attribute is set
|
boolean |
isSetUsageScaling(java.lang.String key)
Determine if any usageScaling attribute is for a key is set
|
boolean |
isSetXacl()
Determine if the xacl attribute is set
|
boolean |
isSetXprj()
Determine if the xprj attribute is set
|
void |
putLoad(java.lang.String key,
java.lang.String value)
Put the attribute load for a key.
|
void |
putScaling(java.lang.String key,
double value)
Put the attribute scaling for a key.
|
void |
putUsageScaling(java.lang.String key,
double value)
Put the attribute usageScaling for a key.
|
UserSet |
removeAcl(int index)
Remote a com.sun.grid.jgdi.configuration.UserSet attribute at an index.
|
boolean |
removeAcl(UserSet aacl)
Remote a specific com.sun.grid.jgdi.configuration.UserSet attribute.
|
void |
removeAllAcl()
Remove all com.sun.grid.jgdi.configuration.UserSet attributes.
|
void |
removeAllConsumableConfig()
Remove all com.sun.grid.jgdi.configuration.ComplexEntry attributes.
|
void |
removeAllLoad()
Remove the attribute load for all keys.
|
void |
removeAllPrj()
Remove all com.sun.grid.jgdi.configuration.Project attributes.
|
void |
removeAllReportVariables()
Remove all java.lang.String attributes.
|
void |
removeAllScaling()
Remove the attribute scaling for all keys.
|
void |
removeAllUsageScaling()
Remove the attribute usageScaling for all keys.
|
void |
removeAllXacl()
Remove all com.sun.grid.jgdi.configuration.UserSet attributes.
|
void |
removeAllXprj()
Remove all com.sun.grid.jgdi.configuration.Project attributes.
|
boolean |
removeConsumableConfig(ComplexEntry aconsumableConfig)
Remote a specific com.sun.grid.jgdi.configuration.ComplexEntry attribute.
|
ComplexEntry |
removeConsumableConfig(int index)
Remote a com.sun.grid.jgdi.configuration.ComplexEntry attribute at an index.
|
java.lang.String |
removeLoad(java.lang.String key)
remove the attribute load for a key.
|
Project |
removePrj(int index)
Remote a com.sun.grid.jgdi.configuration.Project attribute at an index.
|
boolean |
removePrj(Project aprj)
Remote a specific com.sun.grid.jgdi.configuration.Project attribute.
|
java.lang.String |
removeReportVariables(int index)
Remote a java.lang.String attribute at an index.
|
boolean |
removeReportVariables(java.lang.String areportVariables)
Remote a specific java.lang.String attribute.
|
java.lang.Double |
removeScaling(java.lang.String key)
remove the attribute scaling for a key.
|
java.lang.Double |
removeUsageScaling(java.lang.String key)
remove the attribute usageScaling for a key.
|
UserSet |
removeXacl(int index)
Remote a com.sun.grid.jgdi.configuration.UserSet attribute at an index.
|
boolean |
removeXacl(UserSet axacl)
Remote a specific com.sun.grid.jgdi.configuration.UserSet attribute.
|
Project |
removeXprj(int index)
Remote a com.sun.grid.jgdi.configuration.Project attribute at an index.
|
boolean |
removeXprj(Project axprj)
Remote a specific com.sun.grid.jgdi.configuration.Project attribute.
|
void |
setAcl(int index,
UserSet aacl)
Set a com.sun.grid.jgdi.configuration.UserSet attribute.
|
void |
setConsumableConfig(int index,
ComplexEntry aconsumableConfig)
Set a com.sun.grid.jgdi.configuration.ComplexEntry attribute.
|
void |
setName(java.lang.String aName)
Set the name attribute.
|
void |
setPrj(int index,
Project aprj)
Set a com.sun.grid.jgdi.configuration.Project attribute.
|
void |
setProcessors(int aProcessors)
Set the processors attribute.
|
void |
setReportVariables(int index,
java.lang.String areportVariables)
Set a java.lang.String attribute.
|
void |
setXacl(int index,
UserSet axacl)
Set a com.sun.grid.jgdi.configuration.UserSet attribute.
|
void |
setXprj(int index,
Project axprj)
Set a com.sun.grid.jgdi.configuration.Project attribute.
|
java.lang.String |
toString() |
getParent, getPathName, getRoot, setParentpublic ExecHostImpl()
public ExecHostImpl(boolean initWithDefaultValues)
initWithDefaultValues - if true the new instance will
be initialized with the default values as defined
in the cull definition.public ExecHostImpl(java.lang.String name)
public boolean isSetName()
public void setName(java.lang.String aName)
setName in interface ExecHostsetName in class GEObjectImplaName - the new value for the name attributepublic java.lang.String getName()
public void putScaling(java.lang.String key,
double value)
Put the attribute scaling for a key.
putScaling in interface ExecHostkey - the keyvalue - the valuepublic double getDefaultScaling()
Get the default value of the attribute scaling.
getDefaultScaling in interface ExecHostjava.lang.IllegalStateException - if the default value is not setpublic double getScaling(java.lang.String key)
Get the scaling attribute for a key.
getScaling in interface ExecHostkey - the keypublic java.lang.Double removeScaling(java.lang.String key)
remove the attribute scaling for a key.
removeScaling in interface ExecHostkey - tje keynull
if the value attribute was not defined for the key.public void removeAllScaling()
Remove the attribute scaling for all keys.
removeAllScaling in interface ExecHostpublic java.util.Set<java.lang.String> getScalingKeys()
getScalingKeys in interface ExecHostpublic int getScalingCount()
getScalingCount in interface ExecHostpublic boolean isSetScaling()
isSetScaling in interface ExecHosttrue if the scaling attribute is setpublic boolean isSetScaling(java.lang.String key)
isSetScaling in interface ExecHostkey - the keytrue if the scaling attribute is setpublic void addConsumableConfig(ComplexEntry aconsumableConfig)
addConsumableConfig in interface ExecHostaconsumableConfig - the new com.sun.grid.jgdi.configuration.ComplexEntry attributepublic void setConsumableConfig(int index,
ComplexEntry aconsumableConfig)
setConsumableConfig in interface ExecHostindex - index of the com.sun.grid.jgdi.configuration.ComplexEntry attributeaconsumableConfig - the new com.sun.grid.jgdi.configuration.ComplexEntry attributepublic void removeAllConsumableConfig()
removeAllConsumableConfig in interface ExecHostpublic ComplexEntry removeConsumableConfig(int index)
removeConsumableConfig in interface ExecHostindex - the index of the com.sun.grid.jgdi.configuration.ComplexEntry attribute which should be
removednull if
no attribute at this index is storedpublic boolean removeConsumableConfig(ComplexEntry aconsumableConfig)
removeConsumableConfig in interface ExecHostaconsumableConfig - the com.sun.grid.jgdi.configuration.ComplexEntry attribute which should be
removedtrue if the com.sun.grid.jgdi.configuration.ComplexEntry attribute has been removedpublic java.util.List<ComplexEntry> getConsumableConfigList()
getConsumableConfigList in interface ExecHostpublic int getConsumableConfigCount()
getConsumableConfigCount in interface ExecHostpublic ComplexEntry getConsumableConfig(int index)
getConsumableConfig in interface ExecHostindex - the index of the com.sun.grid.jgdi.configuration.ComplexEntry attribute which should be
removedpublic boolean isSetConsumableConfig()
isSetConsumableConfig in interface ExecHosttrue if the consumableConfig attribute is setpublic void putUsageScaling(java.lang.String key,
double value)
Put the attribute usageScaling for a key.
putUsageScaling in interface ExecHostkey - the keyvalue - the valuepublic double getDefaultUsageScaling()
Get the default value of the attribute usageScaling.
getDefaultUsageScaling in interface ExecHostjava.lang.IllegalStateException - if the default value is not setpublic double getUsageScaling(java.lang.String key)
Get the usageScaling attribute for a key.
getUsageScaling in interface ExecHostkey - the keypublic java.lang.Double removeUsageScaling(java.lang.String key)
remove the attribute usageScaling for a key.
removeUsageScaling in interface ExecHostkey - tje keynull
if the value attribute was not defined for the key.public void removeAllUsageScaling()
Remove the attribute usageScaling for all keys.
removeAllUsageScaling in interface ExecHostpublic java.util.Set<java.lang.String> getUsageScalingKeys()
getUsageScalingKeys in interface ExecHostpublic int getUsageScalingCount()
getUsageScalingCount in interface ExecHostpublic boolean isSetUsageScaling()
isSetUsageScaling in interface ExecHosttrue if the usageScaling attribute is setpublic boolean isSetUsageScaling(java.lang.String key)
isSetUsageScaling in interface ExecHostkey - the keytrue if the usageScaling attribute is setpublic void putLoad(java.lang.String key,
java.lang.String value)
Put the attribute load for a key.
key - the keyvalue - the valuepublic java.lang.String getDefaultLoad()
Get the default value of the attribute load.
getDefaultLoad in interface ExecHostjava.lang.IllegalStateException - if the default value is not setpublic java.lang.String getLoad(java.lang.String key)
Get the load attribute for a key.
public java.lang.String removeLoad(java.lang.String key)
remove the attribute load for a key.
key - tje keynull
if the value attribute was not defined for the key.public void removeAllLoad()
Remove the attribute load for all keys.
public java.util.Set<java.lang.String> getLoadKeys()
getLoadKeys in interface ExecHostpublic int getLoadCount()
getLoadCount in interface ExecHostpublic boolean isSetLoad()
public boolean isSetLoad(java.lang.String key)
public boolean isSetProcessors()
isSetProcessors in interface ExecHosttrue if the processors attribute is setpublic void setProcessors(int aProcessors)
aProcessors - the new value for the processors attributepublic int getProcessors()
getProcessors in interface ExecHostpublic void addAcl(UserSet aacl)
public void setAcl(int index,
UserSet aacl)
public void removeAllAcl()
removeAllAcl in interface ExecHostpublic UserSet removeAcl(int index)
public boolean removeAcl(UserSet aacl)
public java.util.List<UserSet> getAclList()
getAclList in interface ExecHostpublic int getAclCount()
getAclCount in interface ExecHostpublic UserSet getAcl(int index)
public boolean isSetAcl()
public void addXacl(UserSet axacl)
public void setXacl(int index,
UserSet axacl)
public void removeAllXacl()
removeAllXacl in interface ExecHostpublic UserSet removeXacl(int index)
removeXacl in interface ExecHostindex - the index of the com.sun.grid.jgdi.configuration.UserSet attribute which should be
removednull if
no attribute at this index is storedpublic boolean removeXacl(UserSet axacl)
removeXacl in interface ExecHostaxacl - 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> getXaclList()
getXaclList in interface ExecHostpublic int getXaclCount()
getXaclCount in interface ExecHostpublic UserSet getXacl(int index)
public boolean isSetXacl()
public void addPrj(Project aprj)
public void setPrj(int index,
Project aprj)
public void removeAllPrj()
removeAllPrj in interface ExecHostpublic Project removePrj(int index)
public boolean removePrj(Project aprj)
public java.util.List<Project> getPrjList()
getPrjList in interface ExecHostpublic int getPrjCount()
getPrjCount in interface ExecHostpublic Project getPrj(int index)
public boolean isSetPrj()
public void addXprj(Project axprj)
public void setXprj(int index,
Project axprj)
public void removeAllXprj()
removeAllXprj in interface ExecHostpublic Project removeXprj(int index)
removeXprj in interface ExecHostindex - the index of the com.sun.grid.jgdi.configuration.Project attribute which should be
removednull if
no attribute at this index is storedpublic boolean removeXprj(Project axprj)
removeXprj in interface ExecHostaxprj - the com.sun.grid.jgdi.configuration.Project attribute which should be
removedtrue if the com.sun.grid.jgdi.configuration.Project attribute has been removedpublic java.util.List<Project> getXprjList()
getXprjList in interface ExecHostpublic int getXprjCount()
getXprjCount in interface ExecHostpublic Project getXprj(int index)
public boolean isSetXprj()
public void addReportVariables(java.lang.String areportVariables)
addReportVariables in interface ExecHostareportVariables - the new java.lang.String attributepublic void setReportVariables(int index,
java.lang.String areportVariables)
setReportVariables in interface ExecHostindex - index of the java.lang.String attributeareportVariables - the new java.lang.String attributepublic void removeAllReportVariables()
removeAllReportVariables in interface ExecHostpublic java.lang.String removeReportVariables(int index)
removeReportVariables in interface ExecHostindex - the index of the java.lang.String attribute which should be
removednull if
no attribute at this index is storedpublic boolean removeReportVariables(java.lang.String areportVariables)
removeReportVariables in interface ExecHostareportVariables - the java.lang.String attribute which should be
removedtrue if the java.lang.String attribute has been removedpublic java.util.List<java.lang.String> getReportVariablesList()
getReportVariablesList in interface ExecHostpublic int getReportVariablesCount()
getReportVariablesCount in interface ExecHostpublic java.lang.String getReportVariables(int index)
getReportVariables in interface ExecHostindex - the index of the java.lang.String attribute which should be
removedpublic boolean isSetReportVariables()
isSetReportVariables in interface ExecHosttrue if the reportVariables attribute is setpublic boolean equals(java.lang.Object obj)
obj.equals in class java.lang.Objectobj - 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 GEObjectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2007 Sun Microsystems, Inc. All rights reserved.