public interface Hostgroup extends GEObject
Warning: The Hostgroup class will not be compatible with future Sun™ Grid Engine releases.
| Modifier and Type | Method and Description |
|---|---|
void |
addHost(java.lang.String ahost)
Add a java.lang.String attribute.
|
java.lang.String |
dump() |
java.lang.String |
getHost(int index)
Get a java.lang.String attribute at an index.
|
int |
getHostCount()
Get the number of java.lang.String attributes.
|
java.util.List<java.lang.String> |
getHostList()
Get a unmodifiable list of all java.lang.String attributes.
|
java.lang.String |
getName()
Get the value of the name attribute.
|
boolean |
isSetHost()
Determine if any host attribute is set
|
boolean |
isSetName()
Determine if any name attribute is set
|
void |
removeAllHost()
Remove all java.lang.String attributes.
|
java.lang.String |
removeHost(int index)
Remote a java.lang.String attribute at an index.
|
boolean |
removeHost(java.lang.String ahost)
Remote a specific java.lang.String attribute.
|
void |
setHost(int index,
java.lang.String ahost)
Set a java.lang.String attribute.
|
void |
setName(java.lang.String aName)
Set the name attribute.
|
equalsCompletely, getParentvoid setName(java.lang.String aName)
aName - the new value for the name attributejava.lang.String getName()
boolean isSetName()
true if the name attribute is setjava.util.List<java.lang.String> getHostList()
int getHostCount()
java.lang.String getHost(int index)
index - the index of the java.lang.String attribute which should be
removedvoid addHost(java.lang.String ahost)
ahost - the new java.lang.String attributevoid setHost(int index,
java.lang.String ahost)
index - index of the java.lang.String attributeahost - the new java.lang.String attributevoid removeAllHost()
java.lang.String removeHost(int index)
index - the index of the java.lang.String attribute which should be
removednull if
no attribute at this index is storedboolean removeHost(java.lang.String ahost)
ahost - the java.lang.String attribute which should be
removedtrue if the java.lang.String attribute has been removedboolean isSetHost()
true if the host attribute is setjava.lang.String dump()
Copyright © 2007 Sun Microsystems, Inc. All rights reserved.