public class QHostOptions
extends java.lang.Object
implements java.io.Serializable
Add javadoc comments
Constructor and Description |
---|
QHostOptions() |
Modifier and Type | Method and Description |
---|---|
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
|
public boolean includeJobs()
QHostResult
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 filterCopyright © 2007 Sun Microsystems, Inc. All rights reserved.