Class MConfiguration


  • public class MConfiguration
    extends MElement
    BDI configuration. The name is used to connect it to the existing component configuration.
    • Constructor Detail

      • MConfiguration

        public MConfiguration()
        Bean Constructor.
      • MConfiguration

        public MConfiguration​(java.lang.String name)
    • Method Detail

      • getInitialBeliefs

        public java.util.List<MConfigBeliefElement> getInitialBeliefs()
        Get the initial beliefs.
        Returns:
        The initial beliefs.
      • setInitialBeliefs

        public void setInitialBeliefs​(java.util.List<MConfigBeliefElement> initialbeliefs)
        Set the initial beliefs.
        Parameters:
        initialbeliefs - The initial beliefs to set.
      • addInitialBelief

        public void addInitialBelief​(MConfigBeliefElement upex)
        Add an initial belief.
        Parameters:
        upex - The expression.
      • getInitialGoals

        public java.util.List<MConfigParameterElement> getInitialGoals()
        Get the initial goals.
        Returns:
        The initial goals.
      • setInitialGoals

        public void setInitialGoals​(java.util.List<MConfigParameterElement> initialgoals)
        Set the initial goals.
        Parameters:
        initialgoals - The initial goals to set.
      • addInitialGoal

        public void addInitialGoal​(MConfigParameterElement upex)
        Add an initial goal.
        Parameters:
        upex - The expression.
      • getInitialPlans

        public java.util.List<MConfigParameterElement> getInitialPlans()
        Get the initial plans.
        Returns:
        The initial plans.
      • setInitialPlans

        public void setInitialPlans​(java.util.List<MConfigParameterElement> initialplans)
        Set the initial plans.
        Parameters:
        initialplans - The initial plans to set.
      • addInitialPlan

        public void addInitialPlan​(MConfigParameterElement upex)
        Add an initial plan.
        Parameters:
        upex - The expression.
      • getInitialEvents

        public java.util.List<MConfigParameterElement> getInitialEvents()
        Get the initial events.
        Returns:
        The initial events.
      • setInitialEvents

        public void setInitialEvents​(java.util.List<MConfigParameterElement> initialevents)
        Set the initial events.
        Parameters:
        initialevents - The initial events to set.
      • addInitialEvent

        public void addInitialEvent​(MConfigParameterElement upex)
        Add an initial event.
        Parameters:
        upex - The expression.
      • getEndBeliefs

        public java.util.List<MConfigBeliefElement> getEndBeliefs()
        Get the end beliefs.
        Returns:
        The end beliefs.
      • setEndBeliefs

        public void setEndBeliefs​(java.util.List<MConfigBeliefElement> endbeliefs)
        Set the end beliefs.
        Parameters:
        endbeliefs - The end beliefs to set.
      • addEndBelief

        public void addEndBelief​(MConfigBeliefElement upex)
        Add an end belief.
        Parameters:
        upex - The expression.
      • getEndGoals

        public java.util.List<MConfigParameterElement> getEndGoals()
        Get the end goals.
        Returns:
        The end goals.
      • setEndGoals

        public void setEndGoals​(java.util.List<MConfigParameterElement> endgoals)
        Set the end goals.
        Parameters:
        endgoals - The end goals to set.
      • addEndGoal

        public void addEndGoal​(MConfigParameterElement upex)
        Add an end goal.
        Parameters:
        upex - The expression.
      • getEndPlans

        public java.util.List<MConfigParameterElement> getEndPlans()
        Get the end plans.
        Returns:
        The end plans.
      • setEndPlans

        public void setEndPlans​(java.util.List<MConfigParameterElement> endplans)
        Set the end plans.
        Parameters:
        endplans - The end plans to set.
      • addEndPlan

        public void addEndPlan​(MConfigParameterElement upex)
        Add an end plan.
        Parameters:
        upex - The expression.
      • getEndEvents

        public java.util.List<MConfigParameterElement> getEndEvents()
        Get the end events.
        Returns:
        The end events.
      • setEndEvents

        public void setEndEvents​(java.util.List<MConfigParameterElement> endevents)
        Set the end events.
        Parameters:
        endevents - The end events to set.
      • addEndEvent

        public void addEndEvent​(MConfigParameterElement upex)
        Add an end event.
        Parameters:
        upex - The expression.
      • getInitialCapabilities

        public java.util.Map<java.lang.String,​java.lang.String> getInitialCapabilities()
        Get the initial capabilities.
      • addInitialCapability

        public void addInitialCapability​(java.lang.String name,
                                         java.lang.String configuration)
        Add an initial capability.