org.jclouds.tools.ant.taskdefs.compute
Class ComputeTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.jclouds.tools.ant.taskdefs.compute.ComputeTask
All Implemented Interfaces:
Cloneable

public class ComputeTask
extends org.apache.tools.ant.Task

Author:
Adrian Cole, Ivan Meredith

Nested Class Summary
static class ComputeTask.Action
           
 
Field Summary
 
Fields inherited from class org.apache.tools.ant.Task
target, taskName, taskType, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project
 
Constructor Summary
ComputeTask()
           
ComputeTask(com.google.common.cache.LoadingCache<URI,ComputeServiceContext> computeMap)
           
 
Method Summary
 NodeElement createNodes()
           
 void execute()
          makes a connection to the compute service and invokes
 String getActions()
           
 NodeElement getNodeElement()
           
 NodeElement getNodes()
           
 String getProvider()
           
 void setActions(String actions)
           
 void setNodeElement(NodeElement nodeElement)
           
 void setProvider(String provider)
           
 
Methods inherited from class org.apache.tools.ant.Task
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComputeTask

public ComputeTask(@Nullable
                   com.google.common.cache.LoadingCache<URI,ComputeServiceContext> computeMap)

ComputeTask

public ComputeTask()
            throws IOException
Throws:
IOException
Method Detail

execute

public void execute()
             throws org.apache.tools.ant.BuildException
makes a connection to the compute service and invokes

Overrides:
execute in class org.apache.tools.ant.Task
Throws:
org.apache.tools.ant.BuildException

createNodes

public final NodeElement createNodes()
Returns:
the configured NodeElement element

getNodes

public NodeElement getNodes()

getActions

public String getActions()

setActions

public void setActions(String actions)

getNodeElement

public NodeElement getNodeElement()

setNodeElement

public void setNodeElement(NodeElement nodeElement)

setProvider

public void setProvider(String provider)

getProvider

public String getProvider()


Copyright © 2009-2012 jclouds. All Rights Reserved.