com.sun.grid.jgdi.configuration
public interface ResourceQuotaSet extends GEObject
Warning: The ResourceQuotaSet class will not be compatible with future Sun™ Grid Engine releases.
Modifier and Type | Method and Description |
---|---|
void |
addRule(ResourceQuotaRule arule)
Add a com.sun.grid.jgdi.configuration.ResourceQuotaRule attribute.
|
java.lang.String |
dump() |
java.lang.String |
getDescription()
Get the value of the description attribute.
|
java.lang.String |
getName()
Get the value of the name attribute.
|
ResourceQuotaRule |
getRule(int index)
Get a com.sun.grid.jgdi.configuration.ResourceQuotaRule attribute at an index.
|
int |
getRuleCount()
Get the number of com.sun.grid.jgdi.configuration.ResourceQuotaRule attributes.
|
java.util.List<ResourceQuotaRule> |
getRuleList()
Get a unmodifiable list of all com.sun.grid.jgdi.configuration.ResourceQuotaRule attributes.
|
boolean |
isEnabled()
Get the value of the enabled attribute.
|
boolean |
isSetDescription()
Determine if any description attribute is set
|
boolean |
isSetEnabled()
Determine if any enabled attribute is set
|
boolean |
isSetName()
Determine if any name attribute is set
|
boolean |
isSetRule()
Determine if any rule attribute is set
|
void |
removeAllRule()
Remove all com.sun.grid.jgdi.configuration.ResourceQuotaRule attributes.
|
ResourceQuotaRule |
removeRule(int index)
Remote a com.sun.grid.jgdi.configuration.ResourceQuotaRule attribute at an index.
|
boolean |
removeRule(ResourceQuotaRule arule)
Remote a specific com.sun.grid.jgdi.configuration.ResourceQuotaRule attribute.
|
void |
setDescription(java.lang.String aDescription)
Set the description attribute.
|
void |
setEnabled(boolean aEnabled)
Set the enabled attribute.
|
void |
setName(java.lang.String aName)
Set the name attribute.
|
void |
setRule(int index,
ResourceQuotaRule arule)
Set a com.sun.grid.jgdi.configuration.ResourceQuotaRule 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 setDescription(java.lang.String aDescription)
aDescription
- the new value for the description attributejava.lang.String getDescription()
boolean isSetDescription()
true
if the description attribute is setvoid setEnabled(boolean aEnabled)
aEnabled
- the new value for the enabled attributeboolean isEnabled()
boolean isSetEnabled()
true
if the enabled attribute is setjava.util.List<ResourceQuotaRule> getRuleList()
int getRuleCount()
ResourceQuotaRule getRule(int index)
index
- the index of the com.sun.grid.jgdi.configuration.ResourceQuotaRule attribute which should be
removedvoid addRule(ResourceQuotaRule arule)
arule
- the new com.sun.grid.jgdi.configuration.ResourceQuotaRule attributevoid setRule(int index, ResourceQuotaRule arule)
index
- index of the com.sun.grid.jgdi.configuration.ResourceQuotaRule attributearule
- the new com.sun.grid.jgdi.configuration.ResourceQuotaRule attributevoid removeAllRule()
ResourceQuotaRule removeRule(int index)
index
- the index of the com.sun.grid.jgdi.configuration.ResourceQuotaRule attribute which should be
removednull
if
no attribute at this index is storedboolean removeRule(ResourceQuotaRule arule)
arule
- the com.sun.grid.jgdi.configuration.ResourceQuotaRule attribute which should be
removedtrue
if the com.sun.grid.jgdi.configuration.ResourceQuotaRule attribute has been removedboolean isSetRule()
true
if the rule attribute is setjava.lang.String dump()
Copyright © 2007 Sun Microsystems, Inc. All rights reserved.