net.java.dev.vcc.ant
Class ListComputersTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by net.java.dev.vcc.ant.AbstractDatacenterTask
              extended by net.java.dev.vcc.ant.ListComputersTask

public class ListComputersTask
extends AbstractDatacenterTask

Lists the computers in a datacenter.


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
ListComputersTask()
           
 
Method Summary
protected  void execute(net.java.dev.vcc.api.Datacenter datacenter)
          Execute the task on the specified datacenter.
 
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

ListComputersTask

public ListComputersTask()
Method Detail

execute

protected void execute(net.java.dev.vcc.api.Datacenter datacenter)
                throws org.apache.tools.ant.BuildException
Description copied from class: AbstractDatacenterTask
Execute the task on the specified datacenter.

Specified by:
execute in class AbstractDatacenterTask
Parameters:
datacenter - The datacenter connection.
Throws:
org.apache.tools.ant.BuildException - when things go bad.


Copyright © 2009. All Rights Reserved.