Package net.ssehub.easy.standalone.ant
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
public abstract class AbstractEASyTask
extends org.apache.tools.ant.Task
-
Field Summary
FieldsFields inherited from class org.apache.tools.ant.Task
taskName, taskType, wrapperFields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the project name.Returns the source folder.Retruns the target folder.voidsetMavenHome(String mavenHome) Defines the optional installation location of Maven.voidsetProjectName(String projectName) Returns the project name.voidDefines the source folder.voidDefines 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, setTaskTypeMethods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
-
Field Details
-
source
-
target
-
projectName
-
-
Constructor Details
-
AbstractEASyTask
public AbstractEASyTask()
-
-
Method Details
-
setSource
Defines the source folder.- Parameters:
source- the source folder
-
setTarget
Defines the target folder.- Parameters:
target- the target folder
-
setProjectName
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
Defines the optional installation location of Maven.- Parameters:
mavenHome- as absolute path
-
getSource
Returns the source folder.- Returns:
- the source folder
-
getTarget
Retruns the target folder.- Returns:
- the target folder
-
getProjectName
Returns the project name.- Returns:
- the project name
-