public class PETaskImpl extends GEObjectImpl implements PETask
Warning: The PETaskImpl class will not be compatible with future Sun™ Grid Engine releases.
| Constructor and Description |
|---|
PETaskImpl()
Create a new instance of PETaskImpl.
|
PETaskImpl(boolean initWithDefaultValues)
Create a new instanceof
|
PETaskImpl(java.lang.String id)
Create a new instance of PETaskImpl
|
| Modifier and Type | Method and Description |
|---|---|
void |
addGrantedDestinIdentifier(JG agrantedDestinIdentifier)
Add a com.sun.grid.jgdi.configuration.JG attribute.
|
void |
addPathAliases(PathAlias apathAliases)
Add a com.sun.grid.jgdi.configuration.PathAlias 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 |
getCwd()
Get the value of the cwd attribute.
|
java.lang.String |
getDefaultEnvironment()
Get the default value of the attribute environment.
|
double |
getDefaultPreviousUsage()
Get the default value of the attribute previousUsage.
|
double |
getDefaultReportedUsage()
Get the default value of the attribute reportedUsage.
|
double |
getDefaultScaledUsage()
Get the default value of the attribute scaledUsage.
|
double |
getDefaultUsage()
Get the default value of the attribute usage.
|
int |
getEndTime()
Get the value of the endTime attribute.
|
java.lang.String |
getEnvironment(java.lang.String key)
Get the environment attribute for a key.
|
int |
getEnvironmentCount()
Get the number of keys which have the attribute environment set.
|
java.util.Set<java.lang.String> |
getEnvironmentKeys()
Get the set of keys which have the attribute environment set.
|
JG |
getGrantedDestinIdentifier(int index)
Get a com.sun.grid.jgdi.configuration.JG attribute at an index.
|
int |
getGrantedDestinIdentifierCount()
Get the number of com.sun.grid.jgdi.configuration.JG attributes.
|
java.util.List<JG> |
getGrantedDestinIdentifierList()
Get a unmodifiable list of all com.sun.grid.jgdi.configuration.JG attributes.
|
java.lang.String |
getId()
Get the value of the id attribute.
|
java.lang.String |
getName()
Get the value of the name attribute.
|
java.lang.String |
getOsjobid()
Get the value of the osjobid attribute.
|
PathAlias |
getPathAliases(int index)
Get a com.sun.grid.jgdi.configuration.PathAlias attribute at an index.
|
int |
getPathAliasesCount()
Get the number of com.sun.grid.jgdi.configuration.PathAlias attributes.
|
java.util.List<PathAlias> |
getPathAliasesList()
Get a unmodifiable list of all com.sun.grid.jgdi.configuration.PathAlias attributes.
|
int |
getPid()
Get the value of the pid attribute.
|
double |
getPreviousUsage(java.lang.String key)
Get the previousUsage attribute for a key.
|
int |
getPreviousUsageCount()
Get the number of keys which have the attribute previousUsage set.
|
java.util.Set<java.lang.String> |
getPreviousUsageKeys()
Get the set of keys which have the attribute previousUsage set.
|
double |
getReportedUsage(java.lang.String key)
Get the reportedUsage attribute for a key.
|
int |
getReportedUsageCount()
Get the number of keys which have the attribute reportedUsage set.
|
java.util.Set<java.lang.String> |
getReportedUsageKeys()
Get the set of keys which have the attribute reportedUsage set.
|
double |
getScaledUsage(java.lang.String key)
Get the scaledUsage attribute for a key.
|
int |
getScaledUsageCount()
Get the number of keys which have the attribute scaledUsage set.
|
java.util.Set<java.lang.String> |
getScaledUsageKeys()
Get the set of keys which have the attribute scaledUsage set.
|
int |
getStartTime()
Get the value of the startTime attribute.
|
int |
getStatus()
Get the value of the status attribute.
|
int |
getSubmissionTime()
Get the value of the submissionTime attribute.
|
double |
getUsage(java.lang.String key)
Get the usage attribute for a key.
|
int |
getUsageCount()
Get the number of keys which have the attribute usage set.
|
java.util.Set<java.lang.String> |
getUsageKeys()
Get the set of keys which have the attribute usage set.
|
boolean |
isDoContact()
Get the value of the doContact attribute.
|
boolean |
isSetCwd()
Determine if the cwd attribute is set
|
boolean |
isSetDoContact()
Determine if the doContact attribute is set
|
boolean |
isSetEndTime()
Determine if the endTime attribute is set
|
boolean |
isSetEnvironment()
Determine if any environment attribute is set
|
boolean |
isSetEnvironment(java.lang.String key)
Determine if any environment attribute is for a key is set
|
boolean |
isSetGrantedDestinIdentifier()
Determine if the grantedDestinIdentifier attribute is set
|
boolean |
isSetId()
Determine if the id attribute is set
|
boolean |
isSetName()
Determine if the name attribute is set
|
boolean |
isSetOsjobid()
Determine if the osjobid attribute is set
|
boolean |
isSetPathAliases()
Determine if the pathAliases attribute is set
|
boolean |
isSetPid()
Determine if the pid attribute is set
|
boolean |
isSetPreviousUsage()
Determine if any previousUsage attribute is set
|
boolean |
isSetPreviousUsage(java.lang.String key)
Determine if any previousUsage attribute is for a key is set
|
boolean |
isSetReportedUsage()
Determine if any reportedUsage attribute is set
|
boolean |
isSetReportedUsage(java.lang.String key)
Determine if any reportedUsage attribute is for a key is set
|
boolean |
isSetScaledUsage()
Determine if any scaledUsage attribute is set
|
boolean |
isSetScaledUsage(java.lang.String key)
Determine if any scaledUsage attribute is for a key is set
|
boolean |
isSetStartTime()
Determine if the startTime attribute is set
|
boolean |
isSetStatus()
Determine if the status attribute is set
|
boolean |
isSetSubmissionTime()
Determine if the submissionTime attribute is set
|
boolean |
isSetUsage()
Determine if any usage attribute is set
|
boolean |
isSetUsage(java.lang.String key)
Determine if any usage attribute is for a key is set
|
void |
putEnvironment(java.lang.String key,
java.lang.String value)
Put the attribute environment for a key.
|
void |
putPreviousUsage(java.lang.String key,
double value)
Put the attribute previousUsage for a key.
|
void |
putReportedUsage(java.lang.String key,
double value)
Put the attribute reportedUsage for a key.
|
void |
putScaledUsage(java.lang.String key,
double value)
Put the attribute scaledUsage for a key.
|
void |
putUsage(java.lang.String key,
double value)
Put the attribute usage for a key.
|
void |
removeAllEnvironment()
Remove the attribute environment for all keys.
|
void |
removeAllGrantedDestinIdentifier()
Remove all com.sun.grid.jgdi.configuration.JG attributes.
|
void |
removeAllPathAliases()
Remove all com.sun.grid.jgdi.configuration.PathAlias attributes.
|
void |
removeAllPreviousUsage()
Remove the attribute previousUsage for all keys.
|
void |
removeAllReportedUsage()
Remove the attribute reportedUsage for all keys.
|
void |
removeAllScaledUsage()
Remove the attribute scaledUsage for all keys.
|
void |
removeAllUsage()
Remove the attribute usage for all keys.
|
java.lang.String |
removeEnvironment(java.lang.String key)
remove the attribute environment for a key.
|
JG |
removeGrantedDestinIdentifier(int index)
Remote a com.sun.grid.jgdi.configuration.JG attribute at an index.
|
boolean |
removeGrantedDestinIdentifier(JG agrantedDestinIdentifier)
Remote a specific com.sun.grid.jgdi.configuration.JG attribute.
|
PathAlias |
removePathAliases(int index)
Remote a com.sun.grid.jgdi.configuration.PathAlias attribute at an index.
|
boolean |
removePathAliases(PathAlias apathAliases)
Remote a specific com.sun.grid.jgdi.configuration.PathAlias attribute.
|
java.lang.Double |
removePreviousUsage(java.lang.String key)
remove the attribute previousUsage for a key.
|
java.lang.Double |
removeReportedUsage(java.lang.String key)
remove the attribute reportedUsage for a key.
|
java.lang.Double |
removeScaledUsage(java.lang.String key)
remove the attribute scaledUsage for a key.
|
java.lang.Double |
removeUsage(java.lang.String key)
remove the attribute usage for a key.
|
void |
setCwd(java.lang.String aCwd)
Set the cwd attribute.
|
void |
setDoContact(boolean aDoContact)
Set the doContact attribute.
|
void |
setEndTime(int aEndTime)
Set the endTime attribute.
|
void |
setGrantedDestinIdentifier(int index,
JG agrantedDestinIdentifier)
Set a com.sun.grid.jgdi.configuration.JG attribute.
|
void |
setId(java.lang.String aId)
Set the id attribute.
|
void |
setName(java.lang.String aName)
Set the name attribute.
|
void |
setOsjobid(java.lang.String aOsjobid)
Set the osjobid attribute.
|
void |
setPathAliases(int index,
PathAlias apathAliases)
Set a com.sun.grid.jgdi.configuration.PathAlias attribute.
|
void |
setPid(int aPid)
Set the pid attribute.
|
void |
setStartTime(int aStartTime)
Set the startTime attribute.
|
void |
setStatus(int aStatus)
Set the status attribute.
|
void |
setSubmissionTime(int aSubmissionTime)
Set the submissionTime attribute.
|
java.lang.String |
toString() |
getParent, getPathName, getRoot, setParentpublic PETaskImpl()
public PETaskImpl(boolean initWithDefaultValues)
initWithDefaultValues - if true the new instance will
be initialized with the default values as defined
in the cull definition.public PETaskImpl(java.lang.String id)
public boolean isSetId()
public void setId(java.lang.String aId)
public java.lang.String getId()
public boolean isSetName()
public void setName(java.lang.String aName)
setName in interface PETasksetName in class GEObjectImplaName - the new value for the name attributepublic java.lang.String getName()
public boolean isSetStatus()
isSetStatus in interface PETasktrue if the status attribute is setpublic void setStatus(int aStatus)
public int getStatus()
public void addGrantedDestinIdentifier(JG agrantedDestinIdentifier)
addGrantedDestinIdentifier in interface PETaskagrantedDestinIdentifier - the new com.sun.grid.jgdi.configuration.JG attributepublic void setGrantedDestinIdentifier(int index,
JG agrantedDestinIdentifier)
setGrantedDestinIdentifier in interface PETaskindex - index of the com.sun.grid.jgdi.configuration.JG attributeagrantedDestinIdentifier - the new com.sun.grid.jgdi.configuration.JG attributepublic void removeAllGrantedDestinIdentifier()
removeAllGrantedDestinIdentifier in interface PETaskpublic JG removeGrantedDestinIdentifier(int index)
removeGrantedDestinIdentifier in interface PETaskindex - the index of the com.sun.grid.jgdi.configuration.JG attribute which should be
removednull if
no attribute at this index is storedpublic boolean removeGrantedDestinIdentifier(JG agrantedDestinIdentifier)
removeGrantedDestinIdentifier in interface PETaskagrantedDestinIdentifier - the com.sun.grid.jgdi.configuration.JG attribute which should be
removedtrue if the com.sun.grid.jgdi.configuration.JG attribute has been removedpublic java.util.List<JG> getGrantedDestinIdentifierList()
getGrantedDestinIdentifierList in interface PETaskpublic int getGrantedDestinIdentifierCount()
getGrantedDestinIdentifierCount in interface PETaskpublic JG getGrantedDestinIdentifier(int index)
getGrantedDestinIdentifier in interface PETaskindex - the index of the com.sun.grid.jgdi.configuration.JG attribute which should be
removedpublic boolean isSetGrantedDestinIdentifier()
isSetGrantedDestinIdentifier in interface PETasktrue if the grantedDestinIdentifier attribute is setpublic boolean isSetPid()
public void setPid(int aPid)
public int getPid()
public boolean isSetOsjobid()
isSetOsjobid in interface PETasktrue if the osjobid attribute is setpublic void setOsjobid(java.lang.String aOsjobid)
setOsjobid in interface PETaskaOsjobid - the new value for the osjobid attributepublic java.lang.String getOsjobid()
getOsjobid in interface PETaskpublic void putUsage(java.lang.String key,
double value)
Put the attribute usage for a key.
public double getDefaultUsage()
Get the default value of the attribute usage.
getDefaultUsage in interface PETaskjava.lang.IllegalStateException - if the default value is not setpublic double getUsage(java.lang.String key)
Get the usage attribute for a key.
public java.lang.Double removeUsage(java.lang.String key)
remove the attribute usage for a key.
removeUsage in interface PETaskkey - tje keynull
if the value attribute was not defined for the key.public void removeAllUsage()
Remove the attribute usage for all keys.
removeAllUsage in interface PETaskpublic java.util.Set<java.lang.String> getUsageKeys()
getUsageKeys in interface PETaskpublic int getUsageCount()
getUsageCount in interface PETaskpublic boolean isSetUsage()
isSetUsage in interface PETasktrue if the usage attribute is setpublic boolean isSetUsage(java.lang.String key)
isSetUsage in interface PETaskkey - the keytrue if the usage attribute is setpublic void putScaledUsage(java.lang.String key,
double value)
Put the attribute scaledUsage for a key.
putScaledUsage in interface PETaskkey - the keyvalue - the valuepublic double getDefaultScaledUsage()
Get the default value of the attribute scaledUsage.
getDefaultScaledUsage in interface PETaskjava.lang.IllegalStateException - if the default value is not setpublic double getScaledUsage(java.lang.String key)
Get the scaledUsage attribute for a key.
getScaledUsage in interface PETaskkey - the keypublic java.lang.Double removeScaledUsage(java.lang.String key)
remove the attribute scaledUsage for a key.
removeScaledUsage in interface PETaskkey - tje keynull
if the value attribute was not defined for the key.public void removeAllScaledUsage()
Remove the attribute scaledUsage for all keys.
removeAllScaledUsage in interface PETaskpublic java.util.Set<java.lang.String> getScaledUsageKeys()
getScaledUsageKeys in interface PETaskpublic int getScaledUsageCount()
getScaledUsageCount in interface PETaskpublic boolean isSetScaledUsage()
isSetScaledUsage in interface PETasktrue if the scaledUsage attribute is setpublic boolean isSetScaledUsage(java.lang.String key)
isSetScaledUsage in interface PETaskkey - the keytrue if the scaledUsage attribute is setpublic void putReportedUsage(java.lang.String key,
double value)
Put the attribute reportedUsage for a key.
putReportedUsage in interface PETaskkey - the keyvalue - the valuepublic double getDefaultReportedUsage()
Get the default value of the attribute reportedUsage.
getDefaultReportedUsage in interface PETaskjava.lang.IllegalStateException - if the default value is not setpublic double getReportedUsage(java.lang.String key)
Get the reportedUsage attribute for a key.
getReportedUsage in interface PETaskkey - the keypublic java.lang.Double removeReportedUsage(java.lang.String key)
remove the attribute reportedUsage for a key.
removeReportedUsage in interface PETaskkey - tje keynull
if the value attribute was not defined for the key.public void removeAllReportedUsage()
Remove the attribute reportedUsage for all keys.
removeAllReportedUsage in interface PETaskpublic java.util.Set<java.lang.String> getReportedUsageKeys()
getReportedUsageKeys in interface PETaskpublic int getReportedUsageCount()
getReportedUsageCount in interface PETaskpublic boolean isSetReportedUsage()
isSetReportedUsage in interface PETasktrue if the reportedUsage attribute is setpublic boolean isSetReportedUsage(java.lang.String key)
isSetReportedUsage in interface PETaskkey - the keytrue if the reportedUsage attribute is setpublic void putPreviousUsage(java.lang.String key,
double value)
Put the attribute previousUsage for a key.
putPreviousUsage in interface PETaskkey - the keyvalue - the valuepublic double getDefaultPreviousUsage()
Get the default value of the attribute previousUsage.
getDefaultPreviousUsage in interface PETaskjava.lang.IllegalStateException - if the default value is not setpublic double getPreviousUsage(java.lang.String key)
Get the previousUsage attribute for a key.
getPreviousUsage in interface PETaskkey - the keypublic java.lang.Double removePreviousUsage(java.lang.String key)
remove the attribute previousUsage for a key.
removePreviousUsage in interface PETaskkey - tje keynull
if the value attribute was not defined for the key.public void removeAllPreviousUsage()
Remove the attribute previousUsage for all keys.
removeAllPreviousUsage in interface PETaskpublic java.util.Set<java.lang.String> getPreviousUsageKeys()
getPreviousUsageKeys in interface PETaskpublic int getPreviousUsageCount()
getPreviousUsageCount in interface PETaskpublic boolean isSetPreviousUsage()
isSetPreviousUsage in interface PETasktrue if the previousUsage attribute is setpublic boolean isSetPreviousUsage(java.lang.String key)
isSetPreviousUsage in interface PETaskkey - the keytrue if the previousUsage attribute is setpublic boolean isSetSubmissionTime()
isSetSubmissionTime in interface PETasktrue if the submissionTime attribute is setpublic void setSubmissionTime(int aSubmissionTime)
setSubmissionTime in interface PETaskaSubmissionTime - the new value for the submissionTime attributepublic int getSubmissionTime()
getSubmissionTime in interface PETaskpublic boolean isSetStartTime()
isSetStartTime in interface PETasktrue if the startTime attribute is setpublic void setStartTime(int aStartTime)
setStartTime in interface PETaskaStartTime - the new value for the startTime attributepublic int getStartTime()
getStartTime in interface PETaskpublic boolean isSetEndTime()
isSetEndTime in interface PETasktrue if the endTime attribute is setpublic void setEndTime(int aEndTime)
setEndTime in interface PETaskaEndTime - the new value for the endTime attributepublic int getEndTime()
getEndTime in interface PETaskpublic boolean isSetCwd()
public void setCwd(java.lang.String aCwd)
public java.lang.String getCwd()
public void addPathAliases(PathAlias apathAliases)
addPathAliases in interface PETaskapathAliases - the new com.sun.grid.jgdi.configuration.PathAlias attributepublic void setPathAliases(int index,
PathAlias apathAliases)
setPathAliases in interface PETaskindex - index of the com.sun.grid.jgdi.configuration.PathAlias attributeapathAliases - the new com.sun.grid.jgdi.configuration.PathAlias attributepublic void removeAllPathAliases()
removeAllPathAliases in interface PETaskpublic PathAlias removePathAliases(int index)
removePathAliases in interface PETaskindex - the index of the com.sun.grid.jgdi.configuration.PathAlias attribute which should be
removednull if
no attribute at this index is storedpublic boolean removePathAliases(PathAlias apathAliases)
removePathAliases in interface PETaskapathAliases - the com.sun.grid.jgdi.configuration.PathAlias attribute which should be
removedtrue if the com.sun.grid.jgdi.configuration.PathAlias attribute has been removedpublic java.util.List<PathAlias> getPathAliasesList()
getPathAliasesList in interface PETaskpublic int getPathAliasesCount()
getPathAliasesCount in interface PETaskpublic PathAlias getPathAliases(int index)
getPathAliases in interface PETaskindex - the index of the com.sun.grid.jgdi.configuration.PathAlias attribute which should be
removedpublic boolean isSetPathAliases()
isSetPathAliases in interface PETasktrue if the pathAliases attribute is setpublic void putEnvironment(java.lang.String key,
java.lang.String value)
Put the attribute environment for a key.
putEnvironment in interface PETaskkey - the keyvalue - the valuepublic java.lang.String getDefaultEnvironment()
Get the default value of the attribute environment.
getDefaultEnvironment in interface PETaskjava.lang.IllegalStateException - if the default value is not setpublic java.lang.String getEnvironment(java.lang.String key)
Get the environment attribute for a key.
getEnvironment in interface PETaskkey - the keypublic java.lang.String removeEnvironment(java.lang.String key)
remove the attribute environment for a key.
removeEnvironment in interface PETaskkey - tje keynull
if the value attribute was not defined for the key.public void removeAllEnvironment()
Remove the attribute environment for all keys.
removeAllEnvironment in interface PETaskpublic java.util.Set<java.lang.String> getEnvironmentKeys()
getEnvironmentKeys in interface PETaskpublic int getEnvironmentCount()
getEnvironmentCount in interface PETaskpublic boolean isSetEnvironment()
isSetEnvironment in interface PETasktrue if the environment attribute is setpublic boolean isSetEnvironment(java.lang.String key)
isSetEnvironment in interface PETaskkey - the keytrue if the environment attribute is setpublic boolean isSetDoContact()
isSetDoContact in interface PETasktrue if the doContact attribute is setpublic void setDoContact(boolean aDoContact)
setDoContact in interface PETaskaDoContact - the new value for the doContact attributepublic boolean isDoContact()
isDoContact in interface PETaskpublic 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.