com.sun.grid.jgdi.monitoring
public class ResourceQuotaRuleInfoImpl extends java.lang.Object implements ResourceQuotaRuleInfo, java.io.Serializable
Constructor and Description |
---|
ResourceQuotaRuleInfoImpl()
Create a new limit rule info object
|
ResourceQuotaRuleInfoImpl(java.lang.String resourceQuotaRuleName)
Create a new limit rule info object
|
Modifier and Type | Method and Description |
---|---|
void |
addHost(java.lang.String host)
Add host to limit rule hosts
|
void |
addLimit(ResourceQuota resourceLimit)
Add resourceLimit to limit rule resourceLimits
|
void |
addPe(java.lang.String pe)
Add pe to limit rule pes
|
void |
addProject(java.lang.String project)
Add project to limit rule projects
|
void |
addQueue(java.lang.String queue)
Add queue to limit rule queues
|
void |
addUser(java.lang.String user)
Add user to limit rule users
|
void |
addXHost(java.lang.String host)
Add host to limit rule excluded hosts
|
void |
addXPe(java.lang.String pe)
Add pe to limit rule excluded pes
|
void |
addXProject(java.lang.String project)
Add project to limit rule excluded projects
|
void |
addXQueue(java.lang.String queue)
Add queue to limit rule excluded queues
|
void |
addXUser(java.lang.String user)
Add user to limit rule excluded users
|
java.util.List<java.lang.String> |
getHosts()
Get hosts of limit rule
|
java.util.List<ResourceQuota> |
getLimits()
Get resource limits of limit rule
|
java.util.List<java.lang.String> |
getPes()
Get PEs of limit rule
|
java.util.List<java.lang.String> |
getProjects()
Get projects of limit rule
|
java.util.List<java.lang.String> |
getQueues()
Get Queues of limit rule
|
java.lang.String |
getResouceQuotaRuleName()
Get the limit rule name
|
java.util.List<java.lang.String> |
getUsers()
Get users of limit rule
|
java.util.List<java.lang.String> |
getXHosts()
Get excluded hosts of limit rule
|
java.util.List<java.lang.String> |
getXPes()
Get excluded PEs of limit rule
|
java.util.List<java.lang.String> |
getXProjects()
Get excluded projects of limit rule
|
java.util.List<java.lang.String> |
getXQueues()
Get excluded Queues of limit rule
|
java.util.List<java.lang.String> |
getXUsers()
Get excluded users of limit rule
|
void |
setresourceQuotaRuleName(java.lang.String resourceQuotaRuleName)
Set the limit rule name
|
public ResourceQuotaRuleInfoImpl()
public ResourceQuotaRuleInfoImpl(java.lang.String resourceQuotaRuleName)
resourceQuotaRuleName
- name of the limit rulepublic java.lang.String getResouceQuotaRuleName()
getResouceQuotaRuleName
in interface ResourceQuotaRuleInfo
public void setresourceQuotaRuleName(java.lang.String resourceQuotaRuleName)
resourceQuotaRuleName
- the limit rule namepublic java.util.List<java.lang.String> getUsers()
getUsers
in interface ResourceQuotaRuleInfo
public void addUser(java.lang.String user)
user
- the userpublic java.util.List<java.lang.String> getProjects()
getProjects
in interface ResourceQuotaRuleInfo
public void addProject(java.lang.String project)
project
- the projectpublic java.util.List<java.lang.String> getPes()
getPes
in interface ResourceQuotaRuleInfo
public void addPe(java.lang.String pe)
pe
- the pepublic java.util.List<java.lang.String> getQueues()
getQueues
in interface ResourceQuotaRuleInfo
public void addQueue(java.lang.String queue)
queue
- the queuepublic java.util.List<java.lang.String> getHosts()
getHosts
in interface ResourceQuotaRuleInfo
public void addHost(java.lang.String host)
host
- the hostpublic java.util.List<java.lang.String> getXUsers()
getXUsers
in interface ResourceQuotaRuleInfo
public void addXUser(java.lang.String user)
user
- the userpublic java.util.List<java.lang.String> getXProjects()
getXProjects
in interface ResourceQuotaRuleInfo
public void addXProject(java.lang.String project)
project
- the projectpublic java.util.List<java.lang.String> getXPes()
getXPes
in interface ResourceQuotaRuleInfo
public void addXPe(java.lang.String pe)
pe
- the pepublic java.util.List<java.lang.String> getXQueues()
getXQueues
in interface ResourceQuotaRuleInfo
public void addXQueue(java.lang.String queue)
queue
- the queuepublic java.util.List<java.lang.String> getXHosts()
getXHosts
in interface ResourceQuotaRuleInfo
public void addXHost(java.lang.String host)
host
- the hostpublic java.util.List<ResourceQuota> getLimits()
getLimits
in interface ResourceQuotaRuleInfo
public void addLimit(ResourceQuota resourceLimit)
resourceLimit
- the resourceLimitCopyright © 2007 Sun Microsystems, Inc. All rights reserved.