Class AbstractEASyTask

java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
net.ssehub.easy.standalone.ant.AbstractEASyTask
All Implemented Interfaces:
Cloneable
Direct Known Subclasses:
EASy, EASyPlain

public abstract class AbstractEASyTask extends org.apache.tools.ant.Task
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private String
     
    private File
     
    private File
     

    Fields inherited from class org.apache.tools.ant.Task

    taskName, taskType, wrapper

    Fields inherited from class org.apache.tools.ant.ProjectComponent

    description, location, project
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the project name.
    Returns the source folder.
    Retruns the target folder.
    void
    setMavenHome(String mavenHome)
    Defines the optional installation location of Maven.
    void
    setProjectName(String projectName)
    Returns the project name.
    void
    setSource(File source)
    Defines the source folder.
    void
    setTarget(File target)
    Defines the target folder.

    Methods inherited from class org.apache.tools.ant.Task

    bindToOwner, execute, 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
  • Field Details

    • source

      private File source
    • target

      private File target
    • projectName

      private String projectName
  • Constructor Details

    • AbstractEASyTask

      public AbstractEASyTask()
  • Method Details

    • setSource

      public void setSource(File source)
      Defines the source folder.
      Parameters:
      source - the source folder
    • setTarget

      public void setTarget(File target)
      Defines the target folder.
      Parameters:
      target - the target folder
    • setProjectName

      public void setProjectName(String projectName)
      Returns the project name. Typically EASy assumes the name of the folder to be the name of the project. However, this is not always the case.
      Parameters:
      projectName - the project name
    • setMavenHome

      public void setMavenHome(String mavenHome)
      Defines the optional installation location of Maven.
      Parameters:
      mavenHome - as absolute path
    • getSource

      public File getSource()
      Returns the source folder.
      Returns:
      the source folder
    • getTarget

      public File getTarget()
      Retruns the target folder.
      Returns:
      the target folder
    • getProjectName

      public String getProjectName()
      Returns the project name.
      Returns:
      the project name