public abstract class ReflectionUtils
extends java.lang.Object
| Constructor and Description |
|---|
ReflectionUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
setPlanBodyInput(PlanBody planBody,
Goal goal)
Sets the input parameters of a plan body based on the parameters passed
in the goal that triggered its execution.
|
static void |
setPlanBodyOutput(PlanBody planBody,
Goal goal)
Sets the output parameters of a goal based on the output generated by the
plan body whose execution was triggered by this goal.
|
static void |
setupParameters(Goal goalOut,
Goal goalIn)
Sets the input parameters of goal based on the output parameters of
another goal.
|
public static void setPlanBodyInput(PlanBody planBody, Goal goal) throws ParameterException
planBody - the plan body to have its input parameters set.goal - the goal that has input parameters.ParameterException - if an exception occurs in this setting process.public static void setPlanBodyOutput(PlanBody planBody, Goal goal) throws ParameterException
planBody - the plan body generated the output parameters.goal - the goal to have its output parameters set.ParameterException - if an exception occurs in this setting process.public static void setupParameters(Goal goalOut, Goal goalIn) throws ParameterException
goalOut - the goal that has output parameters that are input of the
goalIn.goalIn - the goal to have its input parameters set.ParameterException - if an exception occurs in this setting process.