TPTP 4.4.0 Platform Project
Public API Specification

org.eclipse.hyades.automation.client.adapters.ant
Class AutomationClientAdapter.Publication

java.lang.Object
  extended byorg.apache.tools.ant.ProjectComponent
      extended byorg.apache.tools.ant.Task
          extended byorg.eclipse.hyades.automation.client.adapters.ant.AutomationClientAdapter.Automation
              extended byorg.eclipse.hyades.automation.client.adapters.ant.AutomationClientAdapter.Publication
All Implemented Interfaces:
java.lang.Cloneable
Enclosing class:
AutomationClientAdapter

public static class AutomationClientAdapter.Publication
extends AutomationClientAdapter.Automation

There are more specific TPTP ant tasks that provide domain-specific interfaces to the more general TPTP automatable services (for example this is the TPTP test ant task that enables a more strongly-typed publication of test results).


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
 
Constructor Summary
AutomationClientAdapter.Publication()
           
 
Method Summary
 void addFilelist(org.apache.tools.ant.types.FileList list)
          Add a filelist to report on.
 void addFileset(org.apache.tools.ant.types.FileSet set)
          Add a set of files to report on.
protected  void checkConfiguration()
          Check that this task has been configured properly.
 void execute()
           
 void init()
           
 void setDateTimePattern(java.lang.String dateTimePattern)
           
 void setEndDateTime(java.lang.String endDate)
           
 void setFilelists(java.util.Vector filelists)
           
 void setFilesets(java.util.Vector filesets)
           
 void setProject(java.lang.String project)
          Provides the ability to set the project associated with the test suite
 void setReport(java.lang.String report)
          Set the report file name to use for the published results
 void setReportTemplateLocation(java.lang.String reportTemplateLocation)
           
 void setResults(java.lang.String results)
          Provides the ability to set the execution results file
 void setStartDateTime(java.lang.String startDate)
           
 void setWorkspace(java.io.File workspace)
          Provides the ability to set the workspace value
 
Methods inherited from class org.eclipse.hyades.automation.client.adapters.ant.AutomationClientAdapter.Automation
addConfiguredProperty, addProperty, addProperty, addProperty, addProperty, appendFilelists, appendFilelists, appendFilesets, appendFilesets, getFromProperties, getProperty, putToProperties, setCommand, setIterations, setQuiet, setService, setSynchronicity, setVmArgs
 
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

AutomationClientAdapter.Publication

public AutomationClientAdapter.Publication()
Method Detail

execute

public void execute()
             throws org.apache.tools.ant.BuildException
Overrides:
execute in class AutomationClientAdapter.Automation
Throws:
org.apache.tools.ant.BuildException

init

public void init()
Overrides:
init in class AutomationClientAdapter.Automation

checkConfiguration

protected void checkConfiguration()
                           throws org.apache.tools.ant.BuildException
Check that this task has been configured properly.

Throws:
org.apache.tools.ant.BuildException - if configuration errors are detected.

addFileset

public void addFileset(org.apache.tools.ant.types.FileSet set)
Add a set of files to report on.

Parameters:
set - the Fileset to add.

addFilelist

public void addFilelist(org.apache.tools.ant.types.FileList list)
Add a filelist to report on.

Parameters:
list - the Filelist to add.

setProject

public void setProject(java.lang.String project)
Provides the ability to set the project associated with the test suite

Parameters:
project - the Eclipse project

setReport

public void setReport(java.lang.String report)
Set the report file name to use for the published results

Parameters:
report - the report file name to use

setResults

public void setResults(java.lang.String results)
Provides the ability to set the execution results file

Parameters:
results - the results of the execution

setWorkspace

public void setWorkspace(java.io.File workspace)
Provides the ability to set the workspace value

Parameters:
workspace - the workspace to use, a fully-qualified path

setEndDateTime

public void setEndDateTime(java.lang.String endDate)
Parameters:
endDate - the endDate to set

setFilelists

public void setFilelists(java.util.Vector filelists)
Parameters:
filelists - the filelists to set

setFilesets

public void setFilesets(java.util.Vector filesets)
Parameters:
filesets - the filesets to set

setStartDateTime

public void setStartDateTime(java.lang.String startDate)
Parameters:
startDate - the startDate to set

setDateTimePattern

public void setDateTimePattern(java.lang.String dateTimePattern)
Parameters:
dateTimePattern - the dateTimePattern to set

setReportTemplateLocation

public void setReportTemplateLocation(java.lang.String reportTemplateLocation)
Parameters:
reportTemplateLocation - the reportTemplateLocation to set

TPTP 4.4.0 Platform Project
Public API Specification