public interface History extends ModelEntity
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clears the model history.
|
void |
complete(boolean isComplete)
Enables or disables history logging for certain methods where the
arguments typically are very large objects.
|
void |
disable()
Disables logging of top-level API calls to the history.
|
void |
enable()
Removes the most recent disabling of top-level API calls to the
history.
|
boolean |
isComplete()
Checks if the history logging performs complete logging.
|
active, author, author, comments, comments, dateCreated, dateModified, docMarker, docMarker, help, help, icon, isactive, isActive, label, label, lastModifiedBy, model, model, name, name, resetAuthor, scope, tag, tag, timeCreated, timeModified, version, version
getContainer, getDisplayString
void clear()
Model.resetHist()
for how
to generate a shorter, but still functional history.void complete(boolean isComplete)
isComplete
- true
for complete logging.void disable()
try { model.hist().disable(); // perform transient operations here but do not log them // ... } finally { model.hist().enable(); }Calling
disable()
can be viewed as adding an entry to a
stack of disable records; logging will only occur if the stack is
empty.void enable()
boolean isComplete()
true
if logging is complete.