Class RProcessableElement

All Implemented Interfaces:
IElement, IParameterElement, jadex.javaparser.IMapAccess
Direct Known Subclasses:
RFinishableElement, RMessageEvent

public abstract class RProcessableElement extends RParameterElement
Runtime element for all elements that can be processed via means-end reasoning.
  • Field Details

  • Constructor Details

  • Method Details

    • getApplicablePlanList

      public APL getApplicablePlanList()
      Get the apl.
      Returns:
      The apl.
    • setApplicablePlanList

      public void setApplicablePlanList(APL apl)
      Set the apl.
      Parameters:
      apl - The apl to set.
    • getPojoElement

      public Object getPojoElement()
      Get the pojoelement.
      Returns:
      The pojoelement.
    • setPojoElement

      public void setPojoElement(Object pojoelement)
      Set the pojoelement.
      Parameters:
      pojoelement - The pojoelement to set.
    • addTriedPlan

      public void addTriedPlan(IInternalPlan plan)
      Add a tried plan.
    • getTriedPlans

      public List<IInternalPlan> getTriedPlans()
      Get the triedplans.
      Returns:
      The triedplans.
    • setTriedPlans

      public void setTriedPlans(List<IInternalPlan> triedplans)
      Set the triedplans.
      Parameters:
      triedplans - The triedplans to set.
    • getState

      public RProcessableElement.State getState()
      Get the state.
      Returns:
      The state.
    • setState

      public void setState(RProcessableElement.State state)
      Set the state.
    • planFinished

      public void planFinished(IInternalPlan rplan)
      Called when plan execution has finished.
    • testWriteOK

      public void testWriteOK(MParameter mparam)
      Test if parameter writes are currently allowed.
      Overrides:
      testWriteOK in class RParameterElement
      Throws:
      Exception - when write not ok.
    • toString

      public String toString()
      Description copied from class: RElement
      Get the string representation.
      Overrides:
      toString in class RElement