Package org.openrefine.history
Class HistoryEntry
- java.lang.Object
-
- org.openrefine.history.HistoryEntry
-
public class HistoryEntry extends Object
A record of applying an operation on the project at a point in time.
-
-
Field Summary
Fields Modifier and Type Field Description protected GridPreservation
gridPreservation
-
Constructor Summary
Constructors Modifier Constructor Description protected
HistoryEntry(long id, Operation operation, OffsetDateTime time, GridPreservation gridPreservation)
HistoryEntry(long id, Operation operation, GridPreservation gridPreservation)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static long
allocateID()
String
getDescription()
GridPreservation
getGridPreservation()
long
getId()
Operation
getOperation()
OffsetDateTime
getTime()
static HistoryEntry
load(String s)
-
-
-
Field Detail
-
gridPreservation
protected final GridPreservation gridPreservation
-
-
Constructor Detail
-
HistoryEntry
public HistoryEntry(long id, Operation operation, GridPreservation gridPreservation)
-
HistoryEntry
protected HistoryEntry(long id, Operation operation, OffsetDateTime time, GridPreservation gridPreservation)
-
-
Method Detail
-
allocateID
public static long allocateID()
-
load
public static HistoryEntry load(String s) throws IOException
- Throws:
IOException
-
getDescription
public String getDescription()
-
getId
public long getId()
-
getTime
public OffsetDateTime getTime()
-
getOperation
public Operation getOperation()
-
getGridPreservation
public GridPreservation getGridPreservation()
-
-