org.plasma.provisioning.ant
Class ProvisioningTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.apache.tools.ant.taskdefs.Java
              extended by org.plasma.provisioning.ant.ProvisioningTask
All Implemented Interfaces:
Cloneable
Direct Known Subclasses:
DDLTask, DSLTask, QueryTask, RDBTask, SDOTask

public abstract class ProvisioningTask
extends org.apache.tools.ant.taskdefs.Java

Common superclass for provisioning tasks. Note: issues with making custom tasks inherit from Any Java task are: 1.) the classpath declared in the taskdef does not seem to propogate through to the task execution


Field Summary
protected  String command
           
protected static String COMMAND_PREFIX
           
protected  String modelFile
           
 
Fields inherited from class org.apache.tools.ant.taskdefs.Java
redirector, redirectorElement
 
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
ProvisioningTask()
           
 
Method Summary
 String getCommand()
           
 String getModelFile()
           
 void setCommand(String command)
           
 void setModelFile(String modelFile)
           
 
Methods inherited from class org.apache.tools.ant.taskdefs.Java
addAssertions, addConfiguredRedirector, addEnv, addSysproperty, addSyspropertyset, checkConfiguration, clearArgs, createArg, createBootclasspath, createClasspath, createJvmarg, createPermissions, createWatchdog, execute, executeJava, executeJava, getCommandLine, getSysProperties, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, maybeSetResultPropertyValue, run, setAppend, setArgs, setClassname, setClasspath, setClasspathRef, setCloneVm, setDir, setError, setErrorProperty, setFailonerror, setFork, setInput, setInputString, setJar, setJvm, setJvmargs, setJVMVersion, setLogError, setMaxmemory, setNewenvironment, setOutput, setOutputproperty, setResultProperty, setSpawn, setTimeout, setupRedirector
 
Methods inherited from class org.apache.tools.ant.Task
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, 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
 

Field Detail

COMMAND_PREFIX

protected static String COMMAND_PREFIX

command

protected String command

modelFile

protected String modelFile
Constructor Detail

ProvisioningTask

public ProvisioningTask()
Method Detail

getCommand

public String getCommand()

setCommand

public void setCommand(String command)

getModelFile

public String getModelFile()

setModelFile

public void setModelFile(String modelFile)


Copyright © 2014. All rights reserved.