Package net.sf.collabreview.hooks

Examples of net.sf.collabreview.hooks.PostAddHook


      public synchronized void addingArtifact(Repository repository, Artifact newArtifact) {
        assert repository == MetricReviewAgedCount.this.getRepository();
        MetricReviewAgedCount.this.decrementCountersForArtifact(newArtifact);
      }
    };
    PostAddHook postAddHook = new PostAddHook() {
      @Override
      public int getPriority() {
        return PRIORITY_MEDIUM;
      }
View Full Code Here


  public void terminate() {
  }

  @Override
  public void run() {
    agentManager.getCollabReview().getRepository().registerPostAddHook(new PostAddHook() {
      @Override
      public int getPriority() {
        // Priority must be lower than that of the ReputationMetrics because they must first
        // adapt to the new Artifact before a Review is potentially submitted by the MicroEditCastigator.
        return PRIORITY_LOW;
View Full Code Here

  public void terminate() {
  }

  @Override
  public void run() {
    agentManager.getCollabReview().getRepository().registerPostAddHook(new PostAddHook() {
      @Override
      public int getPriority() {
        // Priority must be lower than that of the ReputationMetrics because they must first
        // adapt to the new Artifact before a Review is potentially submitted by the MicroEditCastigator.
        return PRIORITY_LOW;
View Full Code Here

  @Override
  protected void configure(ConfigurationData configuration) throws
  Exception {
   
    PostAddHook postAddHook = new PostAddHook() {

      @Override
      public int getPriority() {
        // TODO Auto-generated method stub
        return PRIORITY_MEDIUM;
View Full Code Here

TOP

Related Classes of net.sf.collabreview.hooks.PostAddHook

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.