Package org.eclipse.steady.java.goals
Class InstrGoal
- java.lang.Object
-
- org.eclipse.steady.goals.AbstractGoal
-
- org.eclipse.steady.goals.AbstractAppGoal
-
- org.eclipse.steady.java.goals.InstrGoal
-
- All Implemented Interfaces:
Runnable
public class InstrGoal extends AbstractAppGoal
InstrGoal class.
-
-
Field Summary
-
Fields inherited from class org.eclipse.steady.goals.AbstractGoal
CLASS_EXT, JAR_EXT, JAR_WAR_EXT, WAR_EXT
-
-
Constructor Summary
Constructors Constructor Description InstrGoal()Constructor for InstrGoal.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddInstrPath(Path _p)addInstrPath.voidaddInstrPaths(Set<Path> _paths)addInstrPaths.protected voidexecuteTasks()PathgetInclPath()Getter for the fieldinclPath.Set<Path>getInstrPaths()Getter for the fieldinstrPaths.PathgetLibPath()Getter for the fieldlibPath.PathgetTargetPath()Getter for the fieldtargetPath.booleanhasInclPath()hasInclPath.booleanhasInstrPaths()hasInstrPaths.booleanhasLibPath()hasLibPath.booleanhasTargetPath()hasTargetPath.protected voidprepareExecution()voidsetInclPath(Path _p)Setter for the fieldinclPath.voidsetLibPath(Path _p)Setter for the fieldlibPath.voidsetTargetPath(Path _p)Setter for the fieldtargetPath.-
Methods inherited from class org.eclipse.steady.goals.AbstractAppGoal
addAppPath, addAppPaths, getApplicationContext, getAppPaths, getKnownDependencies, hasAppPaths, setKnownDependencies
-
Methods inherited from class org.eclipse.steady.goals.AbstractGoal
addGoalStats, addGoalStats, addGoalStats, addGoalStats, checkPreconditions, cleanAfterExecution, executeAsync, executeSync, getConfiguration, getGoalClient, getGoalContext, getGoalType, getId, getResultObject, run, runsIn, setConfiguration, setGoalClient, setGoalContext, setObserver, skipGoalUpload, start, stop, stop, toJson, toString, upload
-
-
-
-
Method Detail
-
setLibPath
public void setLibPath(Path _p) throws IllegalArgumentException
Setter for the field
libPath.- Parameters:
_p- aPathobject.- Throws:
IllegalArgumentException- if any.
-
hasLibPath
public boolean hasLibPath()
hasLibPath.
- Returns:
- a boolean.
-
setInclPath
public void setInclPath(Path _p) throws IllegalArgumentException
Setter for the field
inclPath.- Parameters:
_p- aPathobject.- Throws:
IllegalArgumentException- if any.
-
hasInclPath
public boolean hasInclPath()
hasInclPath.
- Returns:
- a boolean.
-
setTargetPath
public void setTargetPath(Path _p) throws IllegalArgumentException
Setter for the field
targetPath.- Parameters:
_p- aPathobject.- Throws:
IllegalArgumentException- if any.
-
hasTargetPath
public boolean hasTargetPath()
hasTargetPath.
- Returns:
- a boolean.
-
getInstrPaths
public Set<Path> getInstrPaths()
Getter for the field
instrPaths.- Returns:
- a
Setobject.
-
addInstrPath
public void addInstrPath(Path _p) throws IllegalArgumentException
addInstrPath.
- Parameters:
_p- aPathobject.- Throws:
IllegalArgumentException- if any.
-
addInstrPaths
public void addInstrPaths(Set<Path> _paths) throws IllegalArgumentException
addInstrPaths.
- Parameters:
_paths- aSetobject.- Throws:
IllegalArgumentException- if any.
-
hasInstrPaths
public boolean hasInstrPaths()
hasInstrPaths.
- Returns:
- a boolean.
-
prepareExecution
protected void prepareExecution() throws GoalConfigurationExceptionChecks whether one or morePaths with application constructs, and one or morePaths with dependencies are available.- Overrides:
prepareExecutionin classAbstractAppGoal- Throws:
GoalConfigurationException
-
executeTasks
protected void executeTasks() throws Exception- Specified by:
executeTasksin classAbstractGoal- Throws:
Exception
-
-