|
TPTP 4.4.0 Platform Project Public API Specification |
||||||||||
| 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
org.eclipse.hyades.automation.client.adapters.ant.AutomationClientAdapter.Automation
This ant task is a general TPTP ant task used to request the execution of published automatable TPTP services. A TPTP automatable service is published via the implementation of specific automation-related plug-in extension points and must implement automation-related Java interfaces as well.
| 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 | |
|---|---|
AutomationClientAdapter.Automation()
|
|
| Method Summary | |
|---|---|
void |
addConfiguredProperty(org.apache.tools.ant.taskdefs.Property property)
Add the configured property to the properties |
void |
addProperty(java.lang.String name,
boolean value)
Add property to the list with the given name and value |
void |
addProperty(java.lang.String name,
java.io.File file)
Add the property with the given name and associated file value |
void |
addProperty(java.lang.String name,
org.apache.tools.ant.types.Path path)
Add the given named value with the value as a path |
void |
addProperty(java.lang.String name,
java.lang.String value)
Add the given named value property to the properties |
void |
appendFilelists(java.util.List resultList,
java.util.Vector filelists)
|
void |
appendFilelists(java.util.List resultList,
java.util.Vector filelists,
boolean absolutize)
|
void |
appendFilesets(java.util.List resultList,
java.util.Vector filesets)
|
void |
appendFilesets(java.util.List resultList,
java.util.Vector filesets,
boolean absolutize)
|
void |
execute()
|
java.lang.Object |
getFromProperties(java.lang.String name)
Add the given object to the properties hashmap |
java.lang.String |
getProperty(java.lang.String name)
Retrieve the specified property's value |
void |
init()
|
void |
putToProperties(java.lang.String name,
java.lang.Object value)
Add the given object to the properties hashmap |
void |
setCommand(java.lang.String command)
Set the automation command to use |
void |
setIterations(int iterations)
The number of iterations to execute this command |
void |
setQuiet(boolean quiet)
Sets quiet mode on or off, quiet reduces chatter to the absolute minimum as defined by a particular service |
void |
setService(java.lang.String service)
Identifies the service to invoke |
void |
setSynchronicity(AutomationClientAdapter.Synchronicity synchronicity)
Set the synchronicity setting for this task instance |
void |
setVmArgs(java.lang.String vmargs)
Set the VM arguments for the instance of the VM that will host the service |
| Methods inherited from class org.apache.tools.ant.Task |
|---|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, 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 |
public AutomationClientAdapter.Automation()
| Method Detail |
public void addConfiguredProperty(org.apache.tools.ant.taskdefs.Property property)
property - the property to add
public void addProperty(java.lang.String name,
boolean value)
name - name of the propertyvalue - value of the property
public void addProperty(java.lang.String name,
java.io.File file)
name - the name of the propertyfile - the value of the file, will be rendered to string
public void addProperty(java.lang.String name,
org.apache.tools.ant.types.Path path)
name - the name of the valuepath - the value as a path, to be used for things like system
paths or classpaths, standard ant path
public void addProperty(java.lang.String name,
java.lang.String value)
name - the name of the valuevalue - the value
public void putToProperties(java.lang.String name,
java.lang.Object value)
public java.lang.Object getFromProperties(java.lang.String name)
public void appendFilesets(java.util.List resultList,
java.util.Vector filesets)
public void appendFilelists(java.util.List resultList,
java.util.Vector filelists)
public void appendFilesets(java.util.List resultList,
java.util.Vector filesets,
boolean absolutize)
absolutize -
public void appendFilelists(java.util.List resultList,
java.util.Vector filelists,
boolean absolutize)
absolutize -
public void execute()
throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildExceptionpublic java.lang.String getProperty(java.lang.String name)
name - the name of the property to return the value of
public void init()
public void setCommand(java.lang.String command)
command - the automation command, currently only execute is
supportedpublic void setIterations(int iterations)
iterations - the number of iterations from 1 to manypublic void setQuiet(boolean quiet)
quiet - used to turn quiet mode on or off (true or false)public void setService(java.lang.String service)
service - the service identifier, which matches the extension point
id in the implementor within Eclipsepublic void setSynchronicity(AutomationClientAdapter.Synchronicity synchronicity)
synchronicity - indicating blocking or non-blocking executionpublic void setVmArgs(java.lang.String vmargs)
|
TPTP 4.4.0 Platform Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||