/** The edition of the last insert. */
private int lastInsertEdition;
+ /** The filename of the last insert. */
+ private String lastInsertFilename;
+
/** The current hash of the file. */
private String currentHash;
}
/**
+ * Returns the name of the file when it was last inserted.
+ *
+ * @return The name of the file at the last insert
+ */
+ public String getLastInsertFilename() {
+ return lastInsertFilename;
+ }
+
+ /**
+ * Sets the name of the file when it was last inserted.
+ *
+ * @param lastInsertFilename
+ * The name of the file at the last insert.
+ * @return These file options
+ */
+ public FileOption setLastInsertFilename(String lastInsertFilename) {
+ this.lastInsertFilename = lastInsertFilename;
+ return this;
+ }
+
+ /**
* Returns the current hash of the file. This value is ony a temporary value
* that is copied to {@link #getLastInsertHash()} when a project has
* finished inserting.