org.sonar.core.purge
Class PurgeableSnapshotDto
java.lang.Object
org.sonar.core.purge.PurgeableSnapshotDto
- All Implemented Interfaces:
- Comparable<PurgeableSnapshotDto>
public class PurgeableSnapshotDto
- extends Object
- implements Comparable<PurgeableSnapshotDto>
PurgeableSnapshotDto
public PurgeableSnapshotDto()
getDate
public Date getDate()
getSnapshotId
public long getSnapshotId()
hasEvents
public boolean hasEvents()
isLast
public boolean isLast()
setDate
public PurgeableSnapshotDto setDate(Date date)
setSnapshotId
public PurgeableSnapshotDto setSnapshotId(long snapshotId)
setHasEvents
public PurgeableSnapshotDto setHasEvents(boolean b)
setLast
public PurgeableSnapshotDto setLast(boolean last)
compareTo
public int compareTo(PurgeableSnapshotDto other)
- Specified by:
compareTo
in interface Comparable<PurgeableSnapshotDto>
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-2012 SonarSource. All Rights Reserved.