Package jadex.bdiv3.actions
Class SelectCandidatesAction
- java.lang.Object
-
- jadex.bdiv3.actions.SelectCandidatesAction
-
- All Implemented Interfaces:
IComponentStep<java.lang.Void>
,IConditionalComponentStep<java.lang.Void>
public class SelectCandidatesAction extends java.lang.Object implements IConditionalComponentStep<java.lang.Void>
Action for selecting a candidate from the APL.
-
-
Field Summary
Fields Modifier and Type Field Description protected jadex.bdiv3.runtime.impl.RProcessableElement
element
The element.
-
Constructor Summary
Constructors Constructor Description SelectCandidatesAction(jadex.bdiv3.runtime.impl.RProcessableElement element)
Create a new action.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IFuture<java.lang.Void>
execute(IInternalAccess ia)
Execute the command.boolean
isValid()
Test if the action is valid.java.lang.String
toString()
-
-
-
Method Detail
-
isValid
public boolean isValid()
Test if the action is valid.- Specified by:
isValid
in interfaceIConditionalComponentStep<java.lang.Void>
- Returns:
- True, if action is valid.
-
execute
public IFuture<java.lang.Void> execute(IInternalAccess ia)
Execute the command.- Specified by:
execute
in interfaceIComponentStep<java.lang.Void>
- Parameters:
args
- The argument(s) for the call.- Returns:
- The result of the command.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-