|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.grid.jgdi.monitoring.QHostOptions
public class QHostOptions
Options for the qhost algorithm
Add javadoc comments
Constructor Summary | |
---|---|
QHostOptions()
|
Method Summary | |
---|---|
HostFilter |
getHostFilter()
Get the host filter. |
ResourceAttributeFilter |
getResourceAttributeFilter()
Get the resource attribute filter. |
ResourceFilter |
getResourceFilter()
Get the resource filter |
UserFilter |
getUserFilter()
Get the user filter. |
boolean |
includeJobs()
Determine if job info should be included into the QHostResult |
boolean |
includeQueue()
Determine of the queue values should be included. |
void |
setHostFilter(HostFilter hostFilter)
Set the host filter. |
void |
setIncludeJobs(boolean includeJobs)
Set the include jobs flag |
void |
setIncludeQueue(boolean includeQueue)
Set the include queue flag |
void |
setResourceAttributeFilter(ResourceAttributeFilter resourceAttributeFilter)
Set the resource attribute filter |
void |
setResourceFilter(ResourceFilter resourceFilter)
Set the resource filter. |
void |
setShowAsXML(boolean showAsXML)
Set the showAsXML flag |
void |
setUserFilter(UserFilter userFilter)
Set the user filter |
boolean |
showAsXML()
Determine if to show the result as an xml |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QHostOptions()
Method Detail |
---|
public boolean includeJobs()
QHostResult
QHostResult.getHostInfo(java.lang.String)
,
HostInfo.getJobList()
public void setIncludeJobs(boolean includeJobs)
includeJobs
- the include jobs flagpublic boolean includeQueue()
Determine of the queue values should be included.
The CLI equivialent for this options is qhost -q
true
of queue values should be includedpublic void setIncludeQueue(boolean includeQueue)
includeQueue
- the include queue flagpublic boolean showAsXML()
Determine if to show the result as an xml
The CLI equivialent for this options is qhost -xml
public void setShowAsXML(boolean showAsXML)
showAsXML
- the flagpublic HostFilter getHostFilter()
Get the host filter.
The CLI equivalent of the host filter is qhost -h
(see man qhost(1)).
public void setHostFilter(HostFilter hostFilter)
hostFilter
- the host filterpublic UserFilter getUserFilter()
Get the user filter.
The CLI equivialent of the user filter is qhost -u
(see man qhost(1))
public void setUserFilter(UserFilter userFilter)
userFilter
- the user filterpublic ResourceFilter getResourceFilter()
Get the resource filter
The CLI equivialent for the resource filter is qhost -l
(see man qhost(1))
public void setResourceFilter(ResourceFilter resourceFilter)
resourceFilter
- the resource filterpublic ResourceAttributeFilter getResourceAttributeFilter()
Get the resource attribute filter.
The CLI equivialent of the resource attribute filter is
qhost -F
(see man qhost(1)).
public void setResourceAttributeFilter(ResourceAttributeFilter resourceAttributeFilter)
resourceAttributeFilter
- the resource attribute filter
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |