org.sonar.batch.components
Class PastSnapshot
java.lang.Object
org.sonar.batch.components.PastSnapshot
public class PastSnapshot
- extends Object
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.
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.