Package org.eclipse.steady.goals
Class AbstractSpaceGoal
- java.lang.Object
-
- org.eclipse.steady.goals.AbstractGoal
-
- org.eclipse.steady.goals.AbstractSpaceGoal
-
- All Implemented Interfaces:
Runnable
- Direct Known Subclasses:
SpaceCleanGoal,SpaceDelGoal,SpaceModGoal,SpaceNewGoal
public abstract class AbstractSpaceGoal extends AbstractGoal
Represents a goal executed in the context of a givenSpace.
-
-
Field Summary
-
Fields inherited from class org.eclipse.steady.goals.AbstractGoal
CLASS_EXT, JAR_EXT, JAR_WAR_EXT, WAR_EXT
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractSpaceGoal(GoalType _type)Constructor for AbstractSpaceGoal.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcheckPreconditions()AllSpace-related goals need to have a tenant configured.protected voidupdateFromConfig(Space _s)updateFromConfig.-
Methods inherited from class org.eclipse.steady.goals.AbstractGoal
addGoalStats, addGoalStats, addGoalStats, addGoalStats, cleanAfterExecution, executeAsync, executeSync, executeTasks, getConfiguration, getGoalClient, getGoalContext, getGoalType, getId, getResultObject, prepareExecution, run, runsIn, setConfiguration, setGoalClient, setGoalContext, setObserver, skipGoalUpload, start, stop, stop, toJson, toString, upload
-
-
-
-
Method Detail
-
checkPreconditions
protected void checkPreconditions() throws GoalConfigurationExceptionAllSpace-related goals need to have a tenant configured.- Overrides:
checkPreconditionsin classAbstractGoal- Throws:
GoalConfigurationException- if no tenant is specified
-
-