Class ResultPlan


  • public class ResultPlan
    extends Plan
    This plan waits for a specified time, sets the assigned result as goal state and finishes.
    • Field Detail

      • wait

        protected long wait
        The waiting time.
      • success

        protected boolean success
        The result state.
      • value

        protected java.lang.Object value
        The result value (if any).
      • belief

        protected java.lang.String belief
        The belief name for storing the result.
    • Constructor Detail

      • ResultPlan

        public ResultPlan()
    • Method Detail

      • body

        public void body()
        The plan body.
        Specified by:
        body in class Plan