org.sonar.core.purge
Class DefaultPurgeContext

java.lang.Object
  extended by org.sonar.core.purge.DefaultPurgeContext
All Implemented Interfaces:
PurgeContext

public class DefaultPurgeContext
extends Object
implements PurgeContext


Constructor Summary
DefaultPurgeContext()
           
DefaultPurgeContext(Integer currentSid, Integer lastSid)
           
DefaultPurgeContext(Snapshot currentSnapshot)
           
DefaultPurgeContext(Snapshot currentSnapshot, Snapshot lastSnapshot)
           
 
Method Summary
 boolean equals(Object o)
           
 Integer getLastSnapshotId()
           
 Integer getPreviousSnapshotId()
           
 int hashCode()
           
 DefaultPurgeContext setCurrentSnapshotId(Integer currentSid)
           
 DefaultPurgeContext setLastSnapshotId(Integer lastSid)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefaultPurgeContext

public DefaultPurgeContext()

DefaultPurgeContext

public DefaultPurgeContext(Snapshot currentSnapshot)

DefaultPurgeContext

public DefaultPurgeContext(Snapshot currentSnapshot,
                           Snapshot lastSnapshot)

DefaultPurgeContext

public DefaultPurgeContext(Integer currentSid,
                           Integer lastSid)
Method Detail

setLastSnapshotId

public DefaultPurgeContext setLastSnapshotId(Integer lastSid)

setCurrentSnapshotId

public DefaultPurgeContext setCurrentSnapshotId(Integer currentSid)

getPreviousSnapshotId

public Integer getPreviousSnapshotId()
Specified by:
getPreviousSnapshotId in interface PurgeContext

getLastSnapshotId

public Integer getLastSnapshotId()
Specified by:
getLastSnapshotId in interface PurgeContext

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2010 SonarSource. All Rights Reserved.