Autopsy
4.12.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Classes | |
class | ObservableStack |
Public Member Functions | |
History (T initialState) | |
History () | |
synchronized T | advance () |
synchronized void | advance (T newState) throws IllegalArgumentException |
synchronized boolean | canAdvance () |
synchronized boolean | canRetreat () |
synchronized void | clear () |
synchronized ReadOnlyObjectProperty< T > | currentState () |
synchronized ReadOnlyBooleanProperty | getCanAdvance () |
synchronized ReadOnlyBooleanProperty | getCanRetreat () |
synchronized T | getCurrentState () |
synchronized void | reset (T newState) |
synchronized T | retreat () |
Private Attributes | |
final ReadOnlyBooleanWrapper | canAdvance = new ReadOnlyBooleanWrapper() |
final ReadOnlyBooleanWrapper | canRetreat = new ReadOnlyBooleanWrapper() |
final ReadOnlyObjectWrapper< T > | currentState = new ReadOnlyObjectWrapper<>() |
final ObservableStack< T > | forwardStack = new ObservableStack<>() |
final ObservableStack< T > | historyStack = new ObservableStack<>() |
A basic history implementation. Keeps a history (and forward) stack of state objects of type T. exposes current state and availability of advance/retreat operations via methods and JFX Property objects. Null is not a valid state, and will only be the current state before the first call to advance.
T | the type of objects used to represent the current/historical/future states |
Definition at line 42 of file History.java.
org.sleuthkit.autopsy.coreutils.History< T >.History | ( | T | initialState | ) |
Definition at line 88 of file History.java.
Definition at line 93 of file History.java.
synchronized T org.sleuthkit.autopsy.coreutils.History< T >.advance | ( | ) |
advance through the forward states by one, and put the current state in the history. Is a no-op if there are no forward states.
Definition at line 110 of file History.java.
synchronized void org.sleuthkit.autopsy.coreutils.History< T >.advance | ( | T | newState | ) | throws IllegalArgumentException |
put the current state in the history and advance to the given state. It is a no-op if the current state is equal to the given state as determined by invoking the equals method. Throws away any forward states.
newState | the new state to advance to |
IllegalArgumentException | if newState == null |
Definition at line 149 of file History.java.
synchronized boolean org.sleuthkit.autopsy.coreutils.History< T >.canAdvance | ( | ) |
synchronized boolean org.sleuthkit.autopsy.coreutils.History< T >.canRetreat | ( | ) |
synchronized void org.sleuthkit.autopsy.coreutils.History< T >.clear | ( | ) |
Definition at line 163 of file History.java.
synchronized ReadOnlyObjectProperty<T> org.sleuthkit.autopsy.coreutils.History< T >.currentState | ( | ) |
Definition at line 76 of file History.java.
Referenced by org.sleuthkit.autopsy.coreutils.History< CommunicationsState >.advance(), org.sleuthkit.autopsy.coreutils.History< CommunicationsState >.clear(), org.sleuthkit.autopsy.coreutils.History< CommunicationsState >.currentState(), org.sleuthkit.autopsy.coreutils.History< CommunicationsState >.getCurrentState(), org.sleuthkit.autopsy.coreutils.History< CommunicationsState >.History(), org.sleuthkit.autopsy.coreutils.History< CommunicationsState >.reset(), and org.sleuthkit.autopsy.coreutils.History< CommunicationsState >.retreat().
synchronized ReadOnlyBooleanProperty org.sleuthkit.autopsy.coreutils.History< T >.getCanAdvance | ( | ) |
Definition at line 80 of file History.java.
synchronized ReadOnlyBooleanProperty org.sleuthkit.autopsy.coreutils.History< T >.getCanRetreat | ( | ) |
Definition at line 84 of file History.java.
synchronized T org.sleuthkit.autopsy.coreutils.History< T >.getCurrentState | ( | ) |
Definition at line 64 of file History.java.
synchronized void org.sleuthkit.autopsy.coreutils.History< T >.reset | ( | T | newState | ) |
Definition at line 98 of file History.java.
synchronized T org.sleuthkit.autopsy.coreutils.History< T >.retreat | ( | ) |
retreat through the history states by one, and add the current state to the forward states. Is a no-op if there are no history states.
Definition at line 127 of file History.java.
Referenced by org.sleuthkit.autopsy.coreutils.History< CommunicationsState >.retreat().
|
private |
Definition at line 58 of file History.java.
|
private |
Definition at line 62 of file History.java.
|
private |
Definition at line 54 of file History.java.
|
private |
Definition at line 50 of file History.java.
Referenced by org.sleuthkit.autopsy.coreutils.History< CommunicationsState >.advance(), org.sleuthkit.autopsy.coreutils.History< CommunicationsState >.clear(), org.sleuthkit.autopsy.coreutils.History< CommunicationsState >.History(), org.sleuthkit.autopsy.coreutils.History< CommunicationsState >.reset(), and org.sleuthkit.autopsy.coreutils.History< CommunicationsState >.retreat().
|
private |
Definition at line 46 of file History.java.
Referenced by org.sleuthkit.autopsy.coreutils.History< CommunicationsState >.advance(), org.sleuthkit.autopsy.coreutils.History< CommunicationsState >.clear(), org.sleuthkit.autopsy.coreutils.History< CommunicationsState >.History(), org.sleuthkit.autopsy.coreutils.History< CommunicationsState >.reset(), and org.sleuthkit.autopsy.coreutils.History< CommunicationsState >.retreat().
Copyright © 2012-2018 Basis Technology. Generated on: Wed Sep 18 2019
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.