com.sun.grid.installer.task
public interface TaskHandler
Modifier and Type | Method and Description |
---|---|
void |
addHosts(java.util.List<Host> hosts)
Adds the given hosts
|
java.lang.String |
getLabel(java.lang.String key)
Returns with localized text for the given key
|
java.lang.String |
getTooltip(java.lang.String key)
Returns with localized tooltip for the given key
|
void |
removeHost(Host host)
Removes the given host
|
void |
setHostLog(Host host,
java.lang.String log)
Sets the log of the given host
|
void |
setHostState(Host host,
Host.State state)
Sets the sate of the given host
|
void setHostState(Host host, Host.State state)
host
- The hoststate
- The state to setvoid setHostLog(Host host, java.lang.String log)
host
- The hostlog
- The log to setvoid removeHost(Host host)
host
- The host to removevoid addHosts(java.util.List<Host> hosts)
hosts
- Hosts to add to the datajava.lang.String getLabel(java.lang.String key)
key
- The key which identifies the localized textjava.lang.String getTooltip(java.lang.String key)
key
- The key which identifies the localized tooltip