Package jadex.bridge
Interface IComponentStep<T>
-
- All Known Subinterfaces:
IConditionalComponentStep<T>,IPriorityComponentStep<T>,ITransferableStep<T>,ITypedComponentStep<T>
- All Known Implementing Classes:
AdoptGoalAction,DecouplingInterceptor.InvokeMethodStep,DispatchGoalStep,DropGoalAction,ExecutePlanStepAction,ExecuteProcessThread,FindApplicableCandidatesAction,SelectCandidatesAction,SetBeliefStep,StepChain
public interface IComponentStep<T>Interface for a component step. For making steps in anonymous inner classes properly serializable the @XMLClassname annotation has to be provided or a static field for the name has to be declared:
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classIComponentStep.MyInit
-
Field Summary
Fields Modifier and Type Field Description static java.lang.Class<IComponentStep.MyInit>__myinitstatic java.lang.ThreadLocal<jadex.bridge.component.impl.ExecutionComponentFeature.StepInfo>CURRENT_STEPThe current service calls mapped to threads.
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description IFuture<T>execute(IInternalAccess ia)Execute the command.static jadex.bridge.component.impl.ExecutionComponentFeature.StepInfogetCurrentStep()Get the current step.static voidsetCurrentStep(jadex.bridge.component.impl.ExecutionComponentFeature.StepInfo step)Set the current step.
-
-
-
Field Detail
-
CURRENT_STEP
static final java.lang.ThreadLocal<jadex.bridge.component.impl.ExecutionComponentFeature.StepInfo> CURRENT_STEP
The current service calls mapped to threads.
-
__myinit
static final java.lang.Class<IComponentStep.MyInit> __myinit
-
-
Method Detail
-
execute
IFuture<T> execute(IInternalAccess ia)
Execute the command.- Parameters:
args- The argument(s) for the call.- Returns:
- The result of the command.
-
setCurrentStep
static void setCurrentStep(jadex.bridge.component.impl.ExecutionComponentFeature.StepInfo step)
Set the current step.- Parameters:
step- The step.
-
getCurrentStep
static jadex.bridge.component.impl.ExecutionComponentFeature.StepInfo getCurrentStep()
Get the current step.- Returns:
- The step.
-
-