Class RPlanbase

  • All Implemented Interfaces:
    IElement, IPlanbase

    public class RPlanbase
    extends jadex.bdiv3.runtime.impl.RElement
    implements IPlanbase
    The planbase.
    • Field Summary

      • Fields inherited from class jadex.bdiv3.runtime.impl.RElement

        agent, cnt, id, modelelement
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      IPlan createPlan​(MPlan mplan)
      Create a plan instance.
      IPlan[] getPlans()
      Get all running plans of this planbase.
      IPlan[] getPlans​(java.lang.String type)
      Get all plans of a specified type (=model element name).
      • Methods inherited from class jadex.bdiv3.runtime.impl.RElement

        getAgent, getCapability, getCount, getId, getMCapability, getModelElement, getRuleSystem, setId, setModelElement, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • RPlanbase

        public RPlanbase​(IInternalAccess agent)
        Create a new goalbase.
    • Method Detail

      • getPlans

        public IPlan[] getPlans()
        Get all running plans of this planbase.
        Specified by:
        getPlans in interface IPlanbase
        Returns:
        The plans.
      • getPlans

        public IPlan[] getPlans​(java.lang.String type)
        Get all plans of a specified type (=model element name).
        Specified by:
        getPlans in interface IPlanbase
        Parameters:
        type - The plan type.
        Returns:
        All plans of the specified type.