Class PlanInfo


public class PlanInfo extends AbstractBDIInfo
Transferable information about a plan.
  • Field Details

    • state

      protected String state
      The plan state (body, passed, failed, aborted).
    • paraminfos

      protected List<ParameterInfo> paraminfos
      The parameter (array of strings parameters).
  • Constructor Details

    • PlanInfo

      public PlanInfo()
      Create a new info.
  • Method Details

    • getState

      public String getState()
      Return the state.
    • setState

      public PlanInfo setState(String state)
      Set the state.
    • getParameterInfos

      public ParameterInfo[] getParameterInfos()
      Returns:
      the paraminfos
    • setParameterInfos

      public PlanInfo setParameterInfos(ParameterInfo[] paraminfos)
      Set the parameters
      Parameters:
      paraminfos - the paraminfos to set
    • addParameterInfo

      public PlanInfo addParameterInfo(ParameterInfo paraminfo)
      Add a parameter.
    • toString

      public String toString()
      Get the string representation.
      Overrides:
      toString in class Object
    • createPlanInfo

      public static PlanInfo createPlanInfo(RPlan plan)
      Create an info object for a plan.