com.partnersoft.v3x.apps.Staker.domain
Class SummaryInfoGenerator

java.lang.Object
  extended by com.partnersoft.v3x.apps.Staker.domain.JobIterator
      extended by com.partnersoft.v3x.apps.Staker.domain.SummaryInfoGenerator

public class SummaryInfoGenerator
extends JobIterator

Calculates the summary info for a job. Fields and category behavior are defined in configuration/Shared.sgml. Update it if you change this class!


Field Summary
static java.lang.String[] sedcFields
           
static java.lang.String[] summaryFields
           
 
Constructor Summary
SummaryInfoGenerator(Job jobby)
          Create a new SummaryInfoGenerator over the given job.
 
Method Summary
protected  void forJob(Job job)
          Called first.
protected  void forLocation(Job job, Location location)
          Called for each StakeNode.
protected  void forUnitAtLocation(Job job, Location location, UnitAtALocation unitAtLocation)
          Called for each UnitAtALocation.
protected  void forUnitOnSpan(Job job, Location location, UnitOnASpan unitOnSpan)
          Called for each UnitAtALocation.
 java.util.Map getFields()
           
protected  void whenFinished(Job job)
           
 
Methods inherited from class com.partnersoft.v3x.apps.Staker.domain.JobIterator
forRedlineNode, forRedlineSticker, forRedlineText, start
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

summaryFields

public static final java.lang.String[] summaryFields

sedcFields

public static final java.lang.String[] sedcFields
Constructor Detail

SummaryInfoGenerator

public SummaryInfoGenerator(Job jobby)
Create a new SummaryInfoGenerator over the given job.

Method Detail

forJob

protected void forJob(Job job)
Called first. Job-specific actions should occur here.

Overrides:
forJob in class JobIterator

forLocation

protected void forLocation(Job job,
                           Location location)
Called for each StakeNode. Location-specific actions should occur here.

Overrides:
forLocation in class JobIterator

forUnitAtLocation

protected void forUnitAtLocation(Job job,
                                 Location location,
                                 UnitAtALocation unitAtLocation)
Description copied from class: JobIterator
Called for each UnitAtALocation. UnitAtALocation-specific actions should occur here.

Overrides:
forUnitAtLocation in class JobIterator

forUnitOnSpan

protected void forUnitOnSpan(Job job,
                             Location location,
                             UnitOnASpan unitOnSpan)
Description copied from class: JobIterator
Called for each UnitAtALocation. UnitAtALocation-specific actions should occur here.

Overrides:
forUnitOnSpan in class JobIterator

whenFinished

protected void whenFinished(Job job)
Overrides:
whenFinished in class JobIterator

getFields

public java.util.Map getFields()