public interface PETask extends GEObject
Warning: The PETask class will not be compatible with future Sun™ Grid Engine releases.
| 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() |
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
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
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
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
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
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 any cwd attribute is set
|
boolean |
isSetDoContact()
Determine if any doContact attribute is set
|
boolean |
isSetEndTime()
Determine if any 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
key is set |
boolean |
isSetGrantedDestinIdentifier()
Determine if any grantedDestinIdentifier attribute is set
|
boolean |
isSetId()
Determine if any id attribute is set
|
boolean |
isSetName()
Determine if any name attribute is set
|
boolean |
isSetOsjobid()
Determine if any osjobid attribute is set
|
boolean |
isSetPathAliases()
Determine if any pathAliases attribute is set
|
boolean |
isSetPid()
Determine if any 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
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
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
key is set |
boolean |
isSetStartTime()
Determine if any startTime attribute is set
|
boolean |
isSetStatus()
Determine if any status attribute is set
|
boolean |
isSetSubmissionTime()
Determine if any 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
key is set |
void |
putEnvironment(java.lang.String key,
java.lang.String value)
Put the attribute environment for
key. |
void |
putPreviousUsage(java.lang.String key,
double value)
Put the attribute previousUsage for
key. |
void |
putReportedUsage(java.lang.String key,
double value)
Put the attribute reportedUsage for
key. |
void |
putScaledUsage(java.lang.String key,
double value)
Put the attribute scaledUsage for
key. |
void |
putUsage(java.lang.String key,
double value)
Put the attribute usage for
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
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
key. |
java.lang.Double |
removeReportedUsage(java.lang.String key)
remove the attribute reportedUsage for
key. |
java.lang.Double |
removeScaledUsage(java.lang.String key)
remove the attribute scaledUsage for
key. |
java.lang.Double |
removeUsage(java.lang.String key)
remove the attribute usage for
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.
|
equalsCompletely, getParentvoid setId(java.lang.String aId)
aId - the new value for the id attributejava.lang.String getId()
boolean isSetId()
true if the id attribute is setvoid setName(java.lang.String aName)
aName - the new value for the name attributejava.lang.String getName()
boolean isSetName()
true if the name attribute is setvoid setStatus(int aStatus)
aStatus - the new value for the status attributeint getStatus()
boolean isSetStatus()
true if the status attribute is setjava.util.List<JG> getGrantedDestinIdentifierList()
int getGrantedDestinIdentifierCount()
JG getGrantedDestinIdentifier(int index)
index - the index of the com.sun.grid.jgdi.configuration.JG attribute which should be
removedvoid addGrantedDestinIdentifier(JG agrantedDestinIdentifier)
agrantedDestinIdentifier - the new com.sun.grid.jgdi.configuration.JG attributevoid setGrantedDestinIdentifier(int index,
JG agrantedDestinIdentifier)
index - index of the com.sun.grid.jgdi.configuration.JG attributeagrantedDestinIdentifier - the new com.sun.grid.jgdi.configuration.JG attributevoid removeAllGrantedDestinIdentifier()
JG removeGrantedDestinIdentifier(int index)
index - the index of the com.sun.grid.jgdi.configuration.JG attribute which should be
removednull if
no attribute at this index is storedboolean removeGrantedDestinIdentifier(JG agrantedDestinIdentifier)
agrantedDestinIdentifier - the com.sun.grid.jgdi.configuration.JG attribute which should be
removedtrue if the com.sun.grid.jgdi.configuration.JG attribute has been removedboolean isSetGrantedDestinIdentifier()
true if the grantedDestinIdentifier attribute is setvoid setPid(int aPid)
aPid - the new value for the pid attributeint getPid()
boolean isSetPid()
true if the pid attribute is setvoid setOsjobid(java.lang.String aOsjobid)
aOsjobid - the new value for the osjobid attributejava.lang.String getOsjobid()
boolean isSetOsjobid()
true if the osjobid attribute is setdouble getDefaultUsage()
Get the default value of the attribute usage.
java.lang.IllegalStateException - if the default value is not setdouble getUsage(java.lang.String key)
Get the usage attribute for key.
key - the keykey or the
default value of usagejava.util.Set<java.lang.String> getUsageKeys()
keys which have the attribute usage set.keysint getUsageCount()
boolean isSetUsage(java.lang.String key)
key is setkey - the keytrue if the usage attribute is setvoid putUsage(java.lang.String key,
double value)
Put the attribute usage for key.
key - the keyvalue - the valuejava.lang.Double removeUsage(java.lang.String key)
remove the attribute usage for key.
key - The keykey or null
if the attribute was not defined for key.void removeAllUsage()
Remove the attribute usage for all keys.
boolean isSetUsage()
true if the usage attribute is setdouble getDefaultScaledUsage()
Get the default value of the attribute scaledUsage.
java.lang.IllegalStateException - if the default value is not setdouble getScaledUsage(java.lang.String key)
Get the scaledUsage attribute for key.
key - the keykey or the
default value of scaledUsagejava.util.Set<java.lang.String> getScaledUsageKeys()
keys which have the attribute scaledUsage set.keysint getScaledUsageCount()
boolean isSetScaledUsage(java.lang.String key)
key is setkey - the keytrue if the scaledUsage attribute is setvoid putScaledUsage(java.lang.String key,
double value)
Put the attribute scaledUsage for key.
key - the keyvalue - the valuejava.lang.Double removeScaledUsage(java.lang.String key)
remove the attribute scaledUsage for key.
key - The keykey or null
if the attribute was not defined for key.void removeAllScaledUsage()
Remove the attribute scaledUsage for all keys.
boolean isSetScaledUsage()
true if the scaledUsage attribute is setdouble getDefaultReportedUsage()
Get the default value of the attribute reportedUsage.
java.lang.IllegalStateException - if the default value is not setdouble getReportedUsage(java.lang.String key)
Get the reportedUsage attribute for key.
key - the keykey or the
default value of reportedUsagejava.util.Set<java.lang.String> getReportedUsageKeys()
keys which have the attribute reportedUsage set.keysint getReportedUsageCount()
boolean isSetReportedUsage(java.lang.String key)
key is setkey - the keytrue if the reportedUsage attribute is setvoid putReportedUsage(java.lang.String key,
double value)
Put the attribute reportedUsage for key.
key - the keyvalue - the valuejava.lang.Double removeReportedUsage(java.lang.String key)
remove the attribute reportedUsage for key.
key - The keykey or null
if the attribute was not defined for key.void removeAllReportedUsage()
Remove the attribute reportedUsage for all keys.
boolean isSetReportedUsage()
true if the reportedUsage attribute is setdouble getDefaultPreviousUsage()
Get the default value of the attribute previousUsage.
java.lang.IllegalStateException - if the default value is not setdouble getPreviousUsage(java.lang.String key)
Get the previousUsage attribute for key.
key - the keykey or the
default value of previousUsagejava.util.Set<java.lang.String> getPreviousUsageKeys()
keys which have the attribute previousUsage set.keysint getPreviousUsageCount()
boolean isSetPreviousUsage(java.lang.String key)
key is setkey - the keytrue if the previousUsage attribute is setvoid putPreviousUsage(java.lang.String key,
double value)
Put the attribute previousUsage for key.
key - the keyvalue - the valuejava.lang.Double removePreviousUsage(java.lang.String key)
remove the attribute previousUsage for key.
key - The keykey or null
if the attribute was not defined for key.void removeAllPreviousUsage()
Remove the attribute previousUsage for all keys.
boolean isSetPreviousUsage()
true if the previousUsage attribute is setvoid setSubmissionTime(int aSubmissionTime)
aSubmissionTime - the new value for the submissionTime attributeint getSubmissionTime()
boolean isSetSubmissionTime()
true if the submissionTime attribute is setvoid setStartTime(int aStartTime)
aStartTime - the new value for the startTime attributeint getStartTime()
boolean isSetStartTime()
true if the startTime attribute is setvoid setEndTime(int aEndTime)
aEndTime - the new value for the endTime attributeint getEndTime()
boolean isSetEndTime()
true if the endTime attribute is setvoid setCwd(java.lang.String aCwd)
aCwd - the new value for the cwd attributejava.lang.String getCwd()
boolean isSetCwd()
true if the cwd attribute is setjava.util.List<PathAlias> getPathAliasesList()
int getPathAliasesCount()
PathAlias getPathAliases(int index)
index - the index of the com.sun.grid.jgdi.configuration.PathAlias attribute which should be
removedvoid addPathAliases(PathAlias apathAliases)
apathAliases - the new com.sun.grid.jgdi.configuration.PathAlias attributevoid setPathAliases(int index,
PathAlias apathAliases)
index - index of the com.sun.grid.jgdi.configuration.PathAlias attributeapathAliases - the new com.sun.grid.jgdi.configuration.PathAlias attributevoid removeAllPathAliases()
PathAlias removePathAliases(int index)
index - the index of the com.sun.grid.jgdi.configuration.PathAlias attribute which should be
removednull if
no attribute at this index is storedboolean removePathAliases(PathAlias apathAliases)
apathAliases - the com.sun.grid.jgdi.configuration.PathAlias attribute which should be
removedtrue if the com.sun.grid.jgdi.configuration.PathAlias attribute has been removedboolean isSetPathAliases()
true if the pathAliases attribute is setjava.lang.String getDefaultEnvironment()
Get the default value of the attribute environment.
java.lang.IllegalStateException - if the default value is not setjava.lang.String getEnvironment(java.lang.String key)
Get the environment attribute for key.
key - the keykey or the
default value of environmentjava.util.Set<java.lang.String> getEnvironmentKeys()
keys which have the attribute environment set.keysint getEnvironmentCount()
boolean isSetEnvironment(java.lang.String key)
key is setkey - the keytrue if the environment attribute is setvoid putEnvironment(java.lang.String key,
java.lang.String value)
Put the attribute environment for key.
key - the keyvalue - the valuejava.lang.String removeEnvironment(java.lang.String key)
remove the attribute environment for key.
key - The keykey or null
if the attribute was not defined for key.void removeAllEnvironment()
Remove the attribute environment for all keys.
boolean isSetEnvironment()
true if the environment attribute is setvoid setDoContact(boolean aDoContact)
aDoContact - the new value for the doContact attributeboolean isDoContact()
boolean isSetDoContact()
true if the doContact attribute is setjava.lang.String dump()
Copyright © 2007 Sun Microsystems, Inc. All rights reserved.