Package net.geco.basics

Examples of net.geco.basics.Announcer


  /**
   * Constructor for a generic GecoControl. See openStage() for the full initialization
   */
  public GecoControl() {
    factory = new POFactory();
    announcer = new Announcer();

    // early controls
    stageBuilder = new StageBuilder(factory);
    checker = new PenaltyChecker(this);
  }
View Full Code Here


  public GecoControl(String startDir) {
    this(startDir, true);
  }

  public GecoControl(AppBuilder builder) {
    announcer = new Announcer();
    factory = builder.getFactory();
    stageBuilder = builder.createStageBuilder();
    checker = builder.createChecker(this);
  }
View Full Code Here

  private int totalUnk;
  private int totalDup;
 
  public RegistryStats(GecoControl gecoControl) {
    super(RegistryStats.class, gecoControl);
    Announcer announcer = gecoControl.announcer();
    announcer.registerStageListener(this);
    announcer.registerRunnerListener(this);
    announcer.registerStageConfigListener(this);
    fullUpdate();
  }
View Full Code Here

    mockGeco = mockGeco();
  }
 
  public IGecoApp mockGeco(){
    mockGeco = mock(IGecoApp.class);
    Announcer ann = mock(Announcer.class);
    Stage stage = mock(Stage.class);
    SIReaderHandler si = mock(SIReaderHandler.class);
    SingleSplitPrinter splitPrinter = mock(SingleSplitPrinter.class);
    when(mockGeco.announcer()).thenReturn(ann);
    when(mockGeco.stage()).thenReturn(stage);
View Full Code Here

TOP

Related Classes of net.geco.basics.Announcer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.