|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
net.java.dev.vcc.ant.AbstractDatacenterTask
net.java.dev.vcc.ant.AbstractComputerActionTask
net.java.dev.vcc.ant.SuspendComputerTask
public class SuspendComputerTask
Pauses computers.
| Field Summary |
|---|
| Fields inherited from class org.apache.tools.ant.Task |
|---|
description, location, target, taskName, taskType, wrapper |
| Fields inherited from class org.apache.tools.ant.ProjectComponent |
|---|
project |
| Constructor Summary | |
|---|---|
SuspendComputerTask()
|
|
| Method Summary | |
|---|---|
protected java.util.concurrent.Future<net.java.dev.vcc.api.Success> |
doAction(net.java.dev.vcc.api.Computer c)
Preforms the operation on the specified computer, returning a future for completion of the operation. |
protected void |
recordFailure(java.lang.String name)
Records that the operation on the named computer failed. |
protected void |
recordSuccess(java.lang.String name)
Records that the operation on the named computer succeeded. |
| Methods inherited from class net.java.dev.vcc.ant.AbstractComputerActionTask |
|---|
addConfiguredComputer, execute, getTimeout, setTimeout |
| Methods inherited from class net.java.dev.vcc.ant.AbstractDatacenterTask |
|---|
execute, getDatacenteruri, getPassword, getUsername, setDatacenteruri, setPassword, setUsername |
| Methods inherited from class org.apache.tools.ant.Task |
|---|
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
| Methods inherited from class org.apache.tools.ant.ProjectComponent |
|---|
getProject, setProject |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SuspendComputerTask()
| Method Detail |
|---|
protected void recordFailure(java.lang.String name)
recordFailure in class AbstractComputerActionTaskname - The computer name.protected void recordSuccess(java.lang.String name)
recordSuccess in class AbstractComputerActionTaskname - The computer name.protected java.util.concurrent.Future<net.java.dev.vcc.api.Success> doAction(net.java.dev.vcc.api.Computer c)
doAction in class AbstractComputerActionTaskc - The computer.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||