public interface ResourceQuotaRule extends GEObject
Warning: The ResourceQuotaRule class will not be compatible with future Sun™ Grid Engine releases.
Modifier and Type | Method and Description |
---|---|
void |
addLimit(ResourceQuotaRuleLimit alimit)
Add a com.sun.grid.jgdi.configuration.ResourceQuotaRuleLimit attribute.
|
java.lang.String |
dump() |
ResourceQuotaRuleFilter |
getFilterHosts()
Get the value of the filterHosts attribute.
|
ResourceQuotaRuleFilter |
getFilterPes()
Get the value of the filterPes attribute.
|
ResourceQuotaRuleFilter |
getFilterProjects()
Get the value of the filterProjects attribute.
|
ResourceQuotaRuleFilter |
getFilterQueues()
Get the value of the filterQueues attribute.
|
ResourceQuotaRuleFilter |
getFilterUsers()
Get the value of the filterUsers attribute.
|
int |
getLevel()
Get the value of the level attribute.
|
ResourceQuotaRuleLimit |
getLimit(int index)
Get a com.sun.grid.jgdi.configuration.ResourceQuotaRuleLimit attribute at an index.
|
int |
getLimitCount()
Get the number of com.sun.grid.jgdi.configuration.ResourceQuotaRuleLimit attributes.
|
java.util.List<ResourceQuotaRuleLimit> |
getLimitList()
Get a unmodifiable list of all com.sun.grid.jgdi.configuration.ResourceQuotaRuleLimit attributes.
|
java.lang.String |
getName()
Get the value of the name attribute.
|
boolean |
isSetFilterHosts()
Determine if any filterHosts attribute is set
|
boolean |
isSetFilterPes()
Determine if any filterPes attribute is set
|
boolean |
isSetFilterProjects()
Determine if any filterProjects attribute is set
|
boolean |
isSetFilterQueues()
Determine if any filterQueues attribute is set
|
boolean |
isSetFilterUsers()
Determine if any filterUsers attribute is set
|
boolean |
isSetLevel()
Determine if any level attribute is set
|
boolean |
isSetLimit()
Determine if any limit attribute is set
|
boolean |
isSetName()
Determine if any name attribute is set
|
void |
removeAllLimit()
Remove all com.sun.grid.jgdi.configuration.ResourceQuotaRuleLimit attributes.
|
ResourceQuotaRuleLimit |
removeLimit(int index)
Remote a com.sun.grid.jgdi.configuration.ResourceQuotaRuleLimit attribute at an index.
|
boolean |
removeLimit(ResourceQuotaRuleLimit alimit)
Remote a specific com.sun.grid.jgdi.configuration.ResourceQuotaRuleLimit attribute.
|
void |
setFilterHosts(ResourceQuotaRuleFilter aFilterHosts)
Set the filterHosts attribute.
|
void |
setFilterPes(ResourceQuotaRuleFilter aFilterPes)
Set the filterPes attribute.
|
void |
setFilterProjects(ResourceQuotaRuleFilter aFilterProjects)
Set the filterProjects attribute.
|
void |
setFilterQueues(ResourceQuotaRuleFilter aFilterQueues)
Set the filterQueues attribute.
|
void |
setFilterUsers(ResourceQuotaRuleFilter aFilterUsers)
Set the filterUsers attribute.
|
void |
setLimit(int index,
ResourceQuotaRuleLimit alimit)
Set a com.sun.grid.jgdi.configuration.ResourceQuotaRuleLimit attribute.
|
void |
setName(java.lang.String aName)
Set the name attribute.
|
equalsCompletely, getParent
void 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 setFilterUsers(ResourceQuotaRuleFilter aFilterUsers)
aFilterUsers
- the new value for the filterUsers attributeResourceQuotaRuleFilter getFilterUsers()
boolean isSetFilterUsers()
true
if the filterUsers attribute is setvoid setFilterProjects(ResourceQuotaRuleFilter aFilterProjects)
aFilterProjects
- the new value for the filterProjects attributeResourceQuotaRuleFilter getFilterProjects()
boolean isSetFilterProjects()
true
if the filterProjects attribute is setvoid setFilterPes(ResourceQuotaRuleFilter aFilterPes)
aFilterPes
- the new value for the filterPes attributeResourceQuotaRuleFilter getFilterPes()
boolean isSetFilterPes()
true
if the filterPes attribute is setvoid setFilterQueues(ResourceQuotaRuleFilter aFilterQueues)
aFilterQueues
- the new value for the filterQueues attributeResourceQuotaRuleFilter getFilterQueues()
boolean isSetFilterQueues()
true
if the filterQueues attribute is setvoid setFilterHosts(ResourceQuotaRuleFilter aFilterHosts)
aFilterHosts
- the new value for the filterHosts attributeResourceQuotaRuleFilter getFilterHosts()
boolean isSetFilterHosts()
true
if the filterHosts attribute is setjava.util.List<ResourceQuotaRuleLimit> getLimitList()
int getLimitCount()
ResourceQuotaRuleLimit getLimit(int index)
index
- the index of the com.sun.grid.jgdi.configuration.ResourceQuotaRuleLimit attribute which should be
removedvoid addLimit(ResourceQuotaRuleLimit alimit)
alimit
- the new com.sun.grid.jgdi.configuration.ResourceQuotaRuleLimit attributevoid setLimit(int index, ResourceQuotaRuleLimit alimit)
index
- index of the com.sun.grid.jgdi.configuration.ResourceQuotaRuleLimit attributealimit
- the new com.sun.grid.jgdi.configuration.ResourceQuotaRuleLimit attributevoid removeAllLimit()
ResourceQuotaRuleLimit removeLimit(int index)
index
- the index of the com.sun.grid.jgdi.configuration.ResourceQuotaRuleLimit attribute which should be
removednull
if
no attribute at this index is storedboolean removeLimit(ResourceQuotaRuleLimit alimit)
alimit
- the com.sun.grid.jgdi.configuration.ResourceQuotaRuleLimit attribute which should be
removedtrue
if the com.sun.grid.jgdi.configuration.ResourceQuotaRuleLimit attribute has been removedboolean isSetLimit()
true
if the limit attribute is setint getLevel()
boolean isSetLevel()
true
if the level attribute is setjava.lang.String dump()
Copyright © 2007 Sun Microsystems, Inc. All rights reserved.