|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.portlets.admin.irbootstrapperportlet.gwt.server.types.ExecutionEntity
org.gcube.portlets.admin.irbootstrapperportlet.gwt.server.types.task.ExecutionType
public abstract class ExecutionType
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.gcube.portlets.admin.irbootstrapperportlet.gwt.server.types.ExecutionEntity |
|---|
ExecutionEntity.ExecutionState |
| Field Summary | |
|---|---|
protected List<ExecutionEntity> |
executionEntities
The list of execution entities contained inside this execution type |
| Fields inherited from class org.gcube.portlets.admin.irbootstrapperportlet.gwt.server.types.ExecutionEntity |
|---|
entityName, execState, isGoalFulfilled, parent, scope, UID |
| Constructor Summary | |
|---|---|
ExecutionType()
Class constructor |
|
| Method Summary | |
|---|---|
void |
addExecutionEntity(ExecutionEntity entity)
Adds an ExecutionEntity in the list of entities to be executed |
void |
cancel()
Cancels the execution of this execution entity. |
Object |
clone()
|
EvaluationResult |
evaluate(String expression)
Evaluates the given expression on the execution tree rooted at the current object and returns a Node representing the result |
List<ExecutionEntity> |
getEntitiesToBeExecuted()
Returns the list of ExecutionEntitys contained in this ExecutionType |
void |
initialize(Element xml,
BootstrappingConfiguration conf)
Sets the execution entities contained inside this ExecutionType object. |
void |
initializeWithDataInScope(org.gcube.common.core.scope.GCUBEScope scope)
Finds the DataTypes that could be possibly used as inputs for this entity as well as each sub-entity contained in it. |
| Methods inherited from class org.gcube.portlets.admin.irbootstrapperportlet.gwt.server.types.ExecutionEntity |
|---|
assignRandomUID, createExecutionLog, execute, getExecutionLogger, getExecutionState, getName, getParent, getScope, getTypeName, getUID, getUIDescription, isFulfilled, newInstance, setExecutionState, setIsFulfilled, setParent, setScope, toXML |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected List<ExecutionEntity> executionEntities
| Constructor Detail |
|---|
public ExecutionType()
| Method Detail |
|---|
public void addExecutionEntity(ExecutionEntity entity)
entity - the ExecutionEntity to add
public void initialize(Element xml,
BootstrappingConfiguration conf)
throws Exception
xml - the XML describing the execution entities wrapped into this ExecutionTypeconf - the active BootstrappingConfiguration object
Exceptionpublic List<ExecutionEntity> getEntitiesToBeExecuted()
ExecutionEntitys contained in this ExecutionType
ExecutionTypepublic EvaluationResult evaluate(String expression)
ExecutionEntity
evaluate in interface Evaluableevaluate in class ExecutionEntityexpression - the expression to evaluate, in "a.b.c..." notation
public void initializeWithDataInScope(org.gcube.common.core.scope.GCUBEScope scope)
throws Exception
ExecutionEntity
initializeWithDataInScope in class ExecutionEntityscope - the scope in which the entity will be executed
Exceptionpublic void cancel()
ExecutionEntity
cancel in class ExecutionEntity
public Object clone()
throws CloneNotSupportedException
clone in class ExecutionEntityCloneNotSupportedException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||