polyglot.frontend
Class Scheduler.TheEndGoal

java.lang.Object
  extended by polyglot.frontend.goals.AbstractGoal
      extended by polyglot.frontend.Scheduler.TheEndGoal
All Implemented Interfaces:
Goal
Enclosing class:
Scheduler

protected static class Scheduler.TheEndGoal
extends AbstractGoal


Nested Class Summary
protected static class Scheduler.TheEndGoal.EndPass
           
 
Field Summary
protected  Scheduler scheduler
           
 
Fields inherited from class polyglot.frontend.goals.AbstractGoal
corequisites, job, name, prerequisites, state
 
Fields inherited from interface polyglot.frontend.goals.Goal
ATTEMPTED, REACHED, RUNNING, UNREACHABLE, UNREACHABLE_THIS_RUN, UNREACHED
 
Constructor Summary
protected Scheduler.TheEndGoal(Scheduler scheduler)
           
 
Method Summary
 Pass createPass(ExtensionInfo extInfo)
          Creates a pass to attempt to satisfy the goal.
 boolean equals(java.lang.Object o)
           
protected  java.util.Collection goals()
           
 int hashCode()
           
 java.util.Collection prerequisiteGoals(Scheduler scheduler)
          Goals that must be completed before attempting this goal.
 java.lang.String toString()
           
 
Methods inherited from class polyglot.frontend.goals.AbstractGoal
addCorequisiteGoal, addPrerequisiteGoal, checkCycles, conflictsWith, corequisiteGoals, hasBeenReached, isReachable, job, name, setState, setUnreachable, setUnreachableThisRun, state, stateString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

scheduler

protected Scheduler scheduler
Constructor Detail

Scheduler.TheEndGoal

protected Scheduler.TheEndGoal(Scheduler scheduler)
Method Detail

prerequisiteGoals

public java.util.Collection prerequisiteGoals(Scheduler scheduler)
Description copied from interface: Goal
Goals that must be completed before attempting this goal. The graph of dependencies between prerequisite goals should be acyclic.

Specified by:
prerequisiteGoals in interface Goal
Overrides:
prerequisiteGoals in class AbstractGoal

toString

public java.lang.String toString()
Overrides:
toString in class AbstractGoal

goals

protected java.util.Collection goals()

createPass

public Pass createPass(ExtensionInfo extInfo)
Description copied from class: AbstractGoal
Creates a pass to attempt to satisfy the goal.

Specified by:
createPass in interface Goal
Specified by:
createPass in class AbstractGoal

hashCode

public int hashCode()
Overrides:
hashCode in class AbstractGoal

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class AbstractGoal