de.hunsicker.jalopy.storage
Class History.Entry
java.lang.Object
|
+--de.hunsicker.jalopy.storage.History.Entry
- All Implemented Interfaces:
- Serializable
- Enclosing class:
- History
- public static final class History.Entry
- extends Object
- implements Serializable
Represents a history entry.
- See Also:
- Serialized Form
Constructor Summary |
History.Entry(String packageName,
long modification)
Creates a new entry object. |
History.Entry
public History.Entry(String packageName,
long modification)
- Creates a new entry object.
- Parameters:
packageName
- the package name of the entry.modification
- the value calculated for the last processing of this
entry.
getModification
public long getModification()
- Returns the last modification value (could be timestamp or crc).
- Returns:
- last modification value.
getPackageName
public String getPackageName()
- Returns the package name of the entry.
- Returns:
- the package name.
toString
public String toString()
- Returns a string representation of this entry.
- Overrides:
toString
in class Object
- Returns:
- a string representation of this entry.