Class PlanFinishedTaskCondition

  • All Implemented Interfaces:
    IBooleanCondition

    public class PlanFinishedTaskCondition
    extends java.lang.Object
    implements IBooleanCondition
    Finished condition for a space object task to be removed when a plan is finished.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected IPlan plan
      The finished flag.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isValid()
      Get the current state of the condition.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • plan

        protected IPlan plan
        The finished flag.
    • Constructor Detail

      • PlanFinishedTaskCondition

        public PlanFinishedTaskCondition​(IPlan plan)
        Create a plan finished task condition.
        Parameters:
        plan - The plan.
    • Method Detail

      • isValid

        public boolean isValid()
        Get the current state of the condition.
        Specified by:
        isValid in interface IBooleanCondition
        Returns:
        True, if the condition is valid.