com.sun.grid.jgdi.configuration
public interface AdvanceReservation extends GEObject
Warning: The AdvanceReservation class will not be compatible with future Sun™ Grid Engine releases.
Modifier and Type | Method and Description |
---|---|
void |
addAcl(ARA aacl)
Add a com.sun.grid.jgdi.configuration.ARA attribute.
|
void |
addMail(MailReceiver amail)
Add a com.sun.grid.jgdi.configuration.MailReceiver attribute.
|
void |
addMasterQueue(java.lang.String amasterQueue)
Add a java.lang.String attribute.
|
void |
addPeRange(Range apeRange)
Add a com.sun.grid.jgdi.configuration.Range attribute.
|
void |
addQueue(java.lang.String aqueue)
Add a java.lang.String attribute.
|
void |
addResource(ComplexEntry aresource)
Add a com.sun.grid.jgdi.configuration.ComplexEntry attribute.
|
void |
addXacl(ARA axacl)
Add a com.sun.grid.jgdi.configuration.ARA attribute.
|
java.lang.String |
dump() |
java.lang.String |
getAccount()
Get the value of the account attribute.
|
ARA |
getAcl(int index)
Get a com.sun.grid.jgdi.configuration.ARA attribute at an index.
|
int |
getAclCount()
Get the number of com.sun.grid.jgdi.configuration.ARA attributes.
|
java.util.List<ARA> |
getAclList()
Get a unmodifiable list of all com.sun.grid.jgdi.configuration.ARA attributes.
|
java.lang.String |
getCheckpointName()
Get the value of the checkpointName attribute.
|
int |
getDuration()
Get the value of the duration attribute.
|
int |
getEndTime()
Get the value of the endTime attribute.
|
int |
getErrorHandling()
Get the value of the errorHandling attribute.
|
java.lang.String |
getGrantedPe()
Get the value of the grantedPe attribute.
|
JG |
getGrantedSlots(int index)
Get a com.sun.grid.jgdi.configuration.JG attribute at an index.
|
int |
getGrantedSlotsCount()
Get the number of com.sun.grid.jgdi.configuration.JG attributes.
|
java.util.List<JG> |
getGrantedSlotsList()
Get a unmodifiable list of all com.sun.grid.jgdi.configuration.JG attributes.
|
java.lang.String |
getGroup()
Get the value of the group attribute.
|
int |
getId()
Get the value of the id attribute.
|
MailReceiver |
getMail(int index)
Get a com.sun.grid.jgdi.configuration.MailReceiver attribute at an index.
|
int |
getMailCount()
Get the number of com.sun.grid.jgdi.configuration.MailReceiver attributes.
|
java.util.List<MailReceiver> |
getMailList()
Get a unmodifiable list of all com.sun.grid.jgdi.configuration.MailReceiver attributes.
|
int |
getMailOptions()
Get the value of the mailOptions attribute.
|
java.lang.String |
getMasterQueue(int index)
Get a java.lang.String attribute at an index.
|
int |
getMasterQueueCount()
Get the number of java.lang.String attributes.
|
java.util.List<java.lang.String> |
getMasterQueueList()
Get a unmodifiable list of all java.lang.String attributes.
|
java.lang.String |
getName()
Get the value of the name attribute.
|
java.lang.String |
getOwner()
Get the value of the owner attribute.
|
java.lang.String |
getPe()
Get the value of the pe attribute.
|
Range |
getPeRange(int index)
Get a com.sun.grid.jgdi.configuration.Range attribute at an index.
|
int |
getPeRangeCount()
Get the number of com.sun.grid.jgdi.configuration.Range attributes.
|
java.util.List<Range> |
getPeRangeList()
Get a unmodifiable list of all com.sun.grid.jgdi.configuration.Range attributes.
|
java.lang.String |
getQueue(int index)
Get a java.lang.String attribute at an index.
|
int |
getQueueCount()
Get the number of java.lang.String attributes.
|
java.util.List<java.lang.String> |
getQueueList()
Get a unmodifiable list of all java.lang.String attributes.
|
QueueInstance |
getReservedQueues(int index)
Get a com.sun.grid.jgdi.configuration.QueueInstance attribute at an index.
|
int |
getReservedQueuesCount()
Get the number of com.sun.grid.jgdi.configuration.QueueInstance attributes.
|
java.util.List<QueueInstance> |
getReservedQueuesList()
Get a unmodifiable list of all com.sun.grid.jgdi.configuration.QueueInstance attributes.
|
ComplexEntry |
getResource(int index)
Get a com.sun.grid.jgdi.configuration.ComplexEntry attribute at an index.
|
int |
getResourceCount()
Get the number of com.sun.grid.jgdi.configuration.ComplexEntry attributes.
|
java.util.List<ComplexEntry> |
getResourceList()
Get a unmodifiable list of all com.sun.grid.jgdi.configuration.ComplexEntry attributes.
|
ResourceUtilization |
getResourceUtilization(int index)
Get a com.sun.grid.jgdi.configuration.ResourceUtilization attribute at an index.
|
int |
getResourceUtilizationCount()
Get the number of com.sun.grid.jgdi.configuration.ResourceUtilization attributes.
|
java.util.List<ResourceUtilization> |
getResourceUtilizationList()
Get a unmodifiable list of all com.sun.grid.jgdi.configuration.ResourceUtilization attributes.
|
int |
getStartTime()
Get the value of the startTime attribute.
|
int |
getState()
Get the value of the state attribute.
|
java.lang.String |
getStateAsString() |
int |
getSubmissionTime()
Get the value of the submissionTime attribute.
|
int |
getType()
Get the value of the type attribute.
|
int |
getVerify()
Get the value of the verify attribute.
|
ARA |
getXacl(int index)
Get a com.sun.grid.jgdi.configuration.ARA attribute at an index.
|
int |
getXaclCount()
Get the number of com.sun.grid.jgdi.configuration.ARA attributes.
|
java.util.List<ARA> |
getXaclList()
Get a unmodifiable list of all com.sun.grid.jgdi.configuration.ARA attributes.
|
boolean |
isSetAccount()
Determine if any account attribute is set
|
boolean |
isSetAcl()
Determine if any acl attribute is set
|
boolean |
isSetCheckpointName()
Determine if any checkpointName attribute is set
|
boolean |
isSetDuration()
Determine if any duration attribute is set
|
boolean |
isSetEndTime()
Determine if any endTime attribute is set
|
boolean |
isSetErrorHandling()
Determine if any errorHandling attribute is set
|
boolean |
isSetGrantedPe()
Determine if any grantedPe attribute is set
|
boolean |
isSetGrantedSlots()
Determine if any grantedSlots attribute is set
|
boolean |
isSetGroup()
Determine if any group attribute is set
|
boolean |
isSetId()
Determine if any id attribute is set
|
boolean |
isSetMail()
Determine if any mail attribute is set
|
boolean |
isSetMailOptions()
Determine if any mailOptions attribute is set
|
boolean |
isSetMasterQueue()
Determine if any masterQueue attribute is set
|
boolean |
isSetName()
Determine if any name attribute is set
|
boolean |
isSetOwner()
Determine if any owner attribute is set
|
boolean |
isSetPe()
Determine if any pe attribute is set
|
boolean |
isSetPeRange()
Determine if any peRange attribute is set
|
boolean |
isSetQueue()
Determine if any queue attribute is set
|
boolean |
isSetReservedQueues()
Determine if any reservedQueues attribute is set
|
boolean |
isSetResource()
Determine if any resource attribute is set
|
boolean |
isSetResourceUtilization()
Determine if any resourceUtilization attribute is set
|
boolean |
isSetStartTime()
Determine if any startTime attribute is set
|
boolean |
isSetState()
Determine if any state attribute is set
|
boolean |
isSetSubmissionTime()
Determine if any submissionTime attribute is set
|
boolean |
isSetType()
Determine if any type attribute is set
|
boolean |
isSetVerify()
Determine if any verify attribute is set
|
boolean |
isSetXacl()
Determine if any xacl attribute is set
|
boolean |
removeAcl(ARA aacl)
Remote a specific com.sun.grid.jgdi.configuration.ARA attribute.
|
ARA |
removeAcl(int index)
Remote a com.sun.grid.jgdi.configuration.ARA attribute at an index.
|
void |
removeAllAcl()
Remove all com.sun.grid.jgdi.configuration.ARA attributes.
|
void |
removeAllMail()
Remove all com.sun.grid.jgdi.configuration.MailReceiver attributes.
|
void |
removeAllMasterQueue()
Remove all java.lang.String attributes.
|
void |
removeAllPeRange()
Remove all com.sun.grid.jgdi.configuration.Range attributes.
|
void |
removeAllQueue()
Remove all java.lang.String attributes.
|
void |
removeAllResource()
Remove all com.sun.grid.jgdi.configuration.ComplexEntry attributes.
|
void |
removeAllXacl()
Remove all com.sun.grid.jgdi.configuration.ARA attributes.
|
MailReceiver |
removeMail(int index)
Remote a com.sun.grid.jgdi.configuration.MailReceiver attribute at an index.
|
boolean |
removeMail(MailReceiver amail)
Remote a specific com.sun.grid.jgdi.configuration.MailReceiver attribute.
|
java.lang.String |
removeMasterQueue(int index)
Remote a java.lang.String attribute at an index.
|
boolean |
removeMasterQueue(java.lang.String amasterQueue)
Remote a specific java.lang.String attribute.
|
Range |
removePeRange(int index)
Remote a com.sun.grid.jgdi.configuration.Range attribute at an index.
|
boolean |
removePeRange(Range apeRange)
Remote a specific com.sun.grid.jgdi.configuration.Range attribute.
|
java.lang.String |
removeQueue(int index)
Remote a java.lang.String attribute at an index.
|
boolean |
removeQueue(java.lang.String aqueue)
Remote a specific java.lang.String attribute.
|
boolean |
removeResource(ComplexEntry aresource)
Remote a specific com.sun.grid.jgdi.configuration.ComplexEntry attribute.
|
ComplexEntry |
removeResource(int index)
Remote a com.sun.grid.jgdi.configuration.ComplexEntry attribute at an index.
|
boolean |
removeXacl(ARA axacl)
Remote a specific com.sun.grid.jgdi.configuration.ARA attribute.
|
ARA |
removeXacl(int index)
Remote a com.sun.grid.jgdi.configuration.ARA attribute at an index.
|
void |
setAccount(java.lang.String aAccount)
Set the account attribute.
|
void |
setAcl(int index,
ARA aacl)
Set a com.sun.grid.jgdi.configuration.ARA attribute.
|
void |
setCheckpointName(java.lang.String aCheckpointName)
Set the checkpointName attribute.
|
void |
setDuration(int aDuration)
Set the duration attribute.
|
void |
setEndTime(int aEndTime)
Set the endTime attribute.
|
void |
setErrorHandling(int aErrorHandling)
Set the errorHandling attribute.
|
void |
setGrantedPe(java.lang.String aGrantedPe)
Set the grantedPe attribute.
|
void |
setId(int aId)
Set the id attribute.
|
void |
setMail(int index,
MailReceiver amail)
Set a com.sun.grid.jgdi.configuration.MailReceiver attribute.
|
void |
setMailOptions(int aMailOptions)
Set the mailOptions attribute.
|
void |
setMasterQueue(int index,
java.lang.String amasterQueue)
Set a java.lang.String attribute.
|
void |
setName(java.lang.String aName)
Set the name attribute.
|
void |
setPe(java.lang.String aPe)
Set the pe attribute.
|
void |
setPeRange(int index,
Range apeRange)
Set a com.sun.grid.jgdi.configuration.Range attribute.
|
void |
setQueue(int index,
java.lang.String aqueue)
Set a java.lang.String attribute.
|
void |
setResource(int index,
ComplexEntry aresource)
Set a com.sun.grid.jgdi.configuration.ComplexEntry attribute.
|
void |
setStartTime(int aStartTime)
Set the startTime attribute.
|
void |
setSubmissionTime(int aSubmissionTime)
Set the submissionTime attribute.
|
void |
setType(int aType)
Set the type attribute.
|
void |
setVerify(int aVerify)
Set the verify attribute.
|
void |
setXacl(int index,
ARA axacl)
Set a com.sun.grid.jgdi.configuration.ARA attribute.
|
equalsCompletely, getParent
void setId(int aId)
aId
- the new value for the id attributeint 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 setAccount(java.lang.String aAccount)
aAccount
- the new value for the account attributejava.lang.String getAccount()
boolean isSetAccount()
true
if the account attribute is setjava.lang.String getOwner()
boolean isSetOwner()
true
if the owner attribute is setjava.lang.String getGroup()
boolean isSetGroup()
true
if the group 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 setDuration(int aDuration)
aDuration
- the new value for the duration attributeint getDuration()
boolean isSetDuration()
true
if the duration attribute is setvoid setVerify(int aVerify)
aVerify
- the new value for the verify attributeint getVerify()
boolean isSetVerify()
true
if the verify attribute is setvoid setErrorHandling(int aErrorHandling)
aErrorHandling
- the new value for the errorHandling attributeint getErrorHandling()
boolean isSetErrorHandling()
true
if the errorHandling attribute is setint getState()
boolean isSetState()
true
if the state attribute is setvoid setCheckpointName(java.lang.String aCheckpointName)
aCheckpointName
- the new value for the checkpointName attributejava.lang.String getCheckpointName()
boolean isSetCheckpointName()
true
if the checkpointName attribute is setjava.util.List<ComplexEntry> getResourceList()
int getResourceCount()
ComplexEntry getResource(int index)
index
- the index of the com.sun.grid.jgdi.configuration.ComplexEntry attribute which should be
removedvoid addResource(ComplexEntry aresource)
aresource
- the new com.sun.grid.jgdi.configuration.ComplexEntry attributevoid setResource(int index, ComplexEntry aresource)
index
- index of the com.sun.grid.jgdi.configuration.ComplexEntry attributearesource
- the new com.sun.grid.jgdi.configuration.ComplexEntry attributevoid removeAllResource()
ComplexEntry removeResource(int index)
index
- the index of the com.sun.grid.jgdi.configuration.ComplexEntry attribute which should be
removednull
if
no attribute at this index is storedboolean removeResource(ComplexEntry aresource)
aresource
- the com.sun.grid.jgdi.configuration.ComplexEntry attribute which should be
removedtrue
if the com.sun.grid.jgdi.configuration.ComplexEntry attribute has been removedboolean isSetResource()
true
if the resource attribute is setjava.util.List<ResourceUtilization> getResourceUtilizationList()
int getResourceUtilizationCount()
ResourceUtilization getResourceUtilization(int index)
index
- the index of the com.sun.grid.jgdi.configuration.ResourceUtilization attribute which should be
removedboolean isSetResourceUtilization()
true
if the resourceUtilization attribute is setjava.util.List<java.lang.String> getQueueList()
int getQueueCount()
java.lang.String getQueue(int index)
index
- the index of the java.lang.String attribute which should be
removedvoid addQueue(java.lang.String aqueue)
aqueue
- the new java.lang.String attributevoid setQueue(int index, java.lang.String aqueue)
index
- index of the java.lang.String attributeaqueue
- the new java.lang.String attributevoid removeAllQueue()
java.lang.String removeQueue(int index)
index
- the index of the java.lang.String attribute which should be
removednull
if
no attribute at this index is storedboolean removeQueue(java.lang.String aqueue)
aqueue
- the java.lang.String attribute which should be
removedtrue
if the java.lang.String attribute has been removedboolean isSetQueue()
true
if the queue attribute is setjava.util.List<JG> getGrantedSlotsList()
int getGrantedSlotsCount()
JG getGrantedSlots(int index)
index
- the index of the com.sun.grid.jgdi.configuration.JG attribute which should be
removedboolean isSetGrantedSlots()
true
if the grantedSlots attribute is setjava.util.List<QueueInstance> getReservedQueuesList()
int getReservedQueuesCount()
QueueInstance getReservedQueues(int index)
index
- the index of the com.sun.grid.jgdi.configuration.QueueInstance attribute which should be
removedboolean isSetReservedQueues()
true
if the reservedQueues attribute is setvoid setMailOptions(int aMailOptions)
aMailOptions
- the new value for the mailOptions attributeint getMailOptions()
boolean isSetMailOptions()
true
if the mailOptions attribute is setjava.util.List<MailReceiver> getMailList()
int getMailCount()
MailReceiver getMail(int index)
index
- the index of the com.sun.grid.jgdi.configuration.MailReceiver attribute which should be
removedvoid addMail(MailReceiver amail)
amail
- the new com.sun.grid.jgdi.configuration.MailReceiver attributevoid setMail(int index, MailReceiver amail)
index
- index of the com.sun.grid.jgdi.configuration.MailReceiver attributeamail
- the new com.sun.grid.jgdi.configuration.MailReceiver attributevoid removeAllMail()
MailReceiver removeMail(int index)
index
- the index of the com.sun.grid.jgdi.configuration.MailReceiver attribute which should be
removednull
if
no attribute at this index is storedboolean removeMail(MailReceiver amail)
amail
- the com.sun.grid.jgdi.configuration.MailReceiver attribute which should be
removedtrue
if the com.sun.grid.jgdi.configuration.MailReceiver attribute has been removedboolean isSetMail()
true
if the mail attribute is setvoid setPe(java.lang.String aPe)
aPe
- the new value for the pe attributejava.lang.String getPe()
boolean isSetPe()
true
if the pe attribute is setjava.util.List<Range> getPeRangeList()
int getPeRangeCount()
Range getPeRange(int index)
index
- the index of the com.sun.grid.jgdi.configuration.Range attribute which should be
removedvoid addPeRange(Range apeRange)
apeRange
- the new com.sun.grid.jgdi.configuration.Range attributevoid setPeRange(int index, Range apeRange)
index
- index of the com.sun.grid.jgdi.configuration.Range attributeapeRange
- the new com.sun.grid.jgdi.configuration.Range attributevoid removeAllPeRange()
Range removePeRange(int index)
index
- the index of the com.sun.grid.jgdi.configuration.Range attribute which should be
removednull
if
no attribute at this index is storedboolean removePeRange(Range apeRange)
apeRange
- the com.sun.grid.jgdi.configuration.Range attribute which should be
removedtrue
if the com.sun.grid.jgdi.configuration.Range attribute has been removedboolean isSetPeRange()
true
if the peRange attribute is setvoid setGrantedPe(java.lang.String aGrantedPe)
aGrantedPe
- the new value for the grantedPe attributejava.lang.String getGrantedPe()
boolean isSetGrantedPe()
true
if the grantedPe attribute is setjava.util.List<java.lang.String> getMasterQueueList()
int getMasterQueueCount()
java.lang.String getMasterQueue(int index)
index
- the index of the java.lang.String attribute which should be
removedvoid addMasterQueue(java.lang.String amasterQueue)
amasterQueue
- the new java.lang.String attributevoid setMasterQueue(int index, java.lang.String amasterQueue)
index
- index of the java.lang.String attributeamasterQueue
- the new java.lang.String attributevoid removeAllMasterQueue()
java.lang.String removeMasterQueue(int index)
index
- the index of the java.lang.String attribute which should be
removednull
if
no attribute at this index is storedboolean removeMasterQueue(java.lang.String amasterQueue)
amasterQueue
- the java.lang.String attribute which should be
removedtrue
if the java.lang.String attribute has been removedboolean isSetMasterQueue()
true
if the masterQueue attribute is setjava.util.List<ARA> getAclList()
int getAclCount()
ARA getAcl(int index)
index
- the index of the com.sun.grid.jgdi.configuration.ARA attribute which should be
removedvoid addAcl(ARA aacl)
aacl
- the new com.sun.grid.jgdi.configuration.ARA attributevoid setAcl(int index, ARA aacl)
index
- index of the com.sun.grid.jgdi.configuration.ARA attributeaacl
- the new com.sun.grid.jgdi.configuration.ARA attributevoid removeAllAcl()
ARA removeAcl(int index)
index
- the index of the com.sun.grid.jgdi.configuration.ARA attribute which should be
removednull
if
no attribute at this index is storedboolean removeAcl(ARA aacl)
aacl
- the com.sun.grid.jgdi.configuration.ARA attribute which should be
removedtrue
if the com.sun.grid.jgdi.configuration.ARA attribute has been removedboolean isSetAcl()
true
if the acl attribute is setjava.util.List<ARA> getXaclList()
int getXaclCount()
ARA getXacl(int index)
index
- the index of the com.sun.grid.jgdi.configuration.ARA attribute which should be
removedvoid addXacl(ARA axacl)
axacl
- the new com.sun.grid.jgdi.configuration.ARA attributevoid setXacl(int index, ARA axacl)
index
- index of the com.sun.grid.jgdi.configuration.ARA attributeaxacl
- the new com.sun.grid.jgdi.configuration.ARA attributevoid removeAllXacl()
ARA removeXacl(int index)
index
- the index of the com.sun.grid.jgdi.configuration.ARA attribute which should be
removednull
if
no attribute at this index is storedboolean removeXacl(ARA axacl)
axacl
- the com.sun.grid.jgdi.configuration.ARA attribute which should be
removedtrue
if the com.sun.grid.jgdi.configuration.ARA attribute has been removedboolean isSetXacl()
true
if the xacl attribute is setvoid setType(int aType)
aType
- the new value for the type attributeint getType()
boolean isSetType()
true
if the type attribute is setjava.lang.String getStateAsString()
java.lang.String dump()
Copyright © 2007 Sun Microsystems, Inc. All rights reserved.