org.sonar.core.consolidation.internal
Class UpdateStatusService

java.lang.Object
  extended by org.sonar.core.consolidation.internal.UpdateStatusService
All Implemented Interfaces:
Service

public class UpdateStatusService
extends java.lang.Object
implements Service


Constructor Summary
UpdateStatusService(DaoFacade dao)
           
 
Method Summary
 void execute(Node node)
           
 void init()
           
protected  void purgeTree(java.lang.Integer rootSid)
           
protected  void setShouldPurge(boolean shouldPurge)
           
protected  void setSqlInPageSize(int sqlInPageSize)
           
 boolean shouldExecuteOn(Node node)
           
protected  Snapshot updateStatus(Node node)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpdateStatusService

public UpdateStatusService(DaoFacade dao)
Method Detail

shouldExecuteOn

public boolean shouldExecuteOn(Node node)
Specified by:
shouldExecuteOn in interface Service

init

public void init()
Specified by:
init in interface Service

setShouldPurge

protected void setShouldPurge(boolean shouldPurge)

setSqlInPageSize

protected void setSqlInPageSize(int sqlInPageSize)

execute

public void execute(Node node)
Specified by:
execute in interface Service

updateStatus

protected Snapshot updateStatus(Node node)

purgeTree

protected void purgeTree(java.lang.Integer rootSid)


Copyright © 2007-2008 hortis. All Rights Reserved.