bdi4jade.util.goal

## Class SequentialGoal

- java.lang.Object
- - bdi4jade.util.goal.CompositeGoal
  - - bdi4jade.util.goal.SequentialGoal

- All Implemented Interfaces:
    Goal, jade.content.Concept, jade.content.ContentElement, jade.content.Term, java.io.Serializable

      public class SequentialGoal
      extends CompositeGoal

  This class represents a goal that aims at achieving all goals that compose this goal in a sequential way.
  Author:
    ingrid
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SequentialGoal(Goal[] goals)` Creates a new SequentialGoal.
    `SequentialGoal(java.util.List<Goal> goals)` Creates a new SequentialGoal.

  - ### Method Summary

    - ### Methods inherited from class bdi4jade.util.goal.CompositeGoal

      `getCompletedGoals, getFailedGoal, getGoals, setCompletedGoals, setFailedGoal`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### SequentialGoal

          public SequentialGoal(Goal[] goals)

      Creates a new SequentialGoal.
      Parameters:
        `goals` - the goals that compose this goal.
      See Also:
        `CompositeGoal.CompositeGoal(Goal[])`

    - #### SequentialGoal

          public SequentialGoal(java.util.List<Goal> goals)

      Creates a new SequentialGoal.
      Parameters:
        `goals` - the goals that compose this goal.
      See Also:
        `CompositeGoal.CompositeGoal(Collection)`