org.sonar.batch.components
Class PastSnapshot

java.lang.Object
  extended by org.sonar.batch.components.PastSnapshot

public class PastSnapshot
extends Object


Constructor Summary
PastSnapshot(String mode)
          See SONAR-2428 : even if previous analysis does not exist (no snapshot and no target date), we should perform comparison.
PastSnapshot(String mode, Date targetDate)
           
PastSnapshot(String mode, Date targetDate, Snapshot projectSnapshot)
           
 
Method Summary
 Date getDate()
           
 int getIndex()
           
 String getMode()
           
 String getModeParameter()
           
 Snapshot getProjectSnapshot()
           
 String getQualifier()
           
 Date getTargetDate()
           
 boolean isRelatedToSnapshot()
           
 PastSnapshot setIndex(int index)
           
 PastSnapshot setModeParameter(String s)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PastSnapshot

public PastSnapshot(String mode,
                    Date targetDate,
                    Snapshot projectSnapshot)

PastSnapshot

public PastSnapshot(String mode,
                    Date targetDate)

PastSnapshot

public PastSnapshot(String mode)
See SONAR-2428 : even if previous analysis does not exist (no snapshot and no target date), we should perform comparison.

Method Detail

setIndex

public PastSnapshot setIndex(int index)

getIndex

public int getIndex()

isRelatedToSnapshot

public boolean isRelatedToSnapshot()

getProjectSnapshot

public Snapshot getProjectSnapshot()

getDate

public Date getDate()

getMode

public String getMode()

getModeParameter

public String getModeParameter()

setModeParameter

public PastSnapshot setModeParameter(String s)

getQualifier

public String getQualifier()

getTargetDate

public Date getTargetDate()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2012 SonarSource. All Rights Reserved.