Class SavedHistory
- java.lang.Object
-
- org.opennms.features.topology.api.support.SavedHistory
-
public class SavedHistory extends Object
Immutable class that stores a snapshot of the topology state (layout, selected/focused vertices, etc) at a given time.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
SavedHistory()
SavedHistory(GraphContainer graphContainer, Collection<HistoryOperation> operations)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(GraphContainer graphContainer, Collection<HistoryOperation> operations, ServiceLocator serviceLocator)
BoundingBox
getBoundingBox()
String
getFragment()
int
getSemanticZoomLevel()
String
toString()
-
-
-
Constructor Detail
-
SavedHistory
protected SavedHistory()
-
SavedHistory
public SavedHistory(GraphContainer graphContainer, Collection<HistoryOperation> operations)
-
-
Method Detail
-
getSemanticZoomLevel
public int getSemanticZoomLevel()
-
getBoundingBox
public BoundingBox getBoundingBox()
-
getFragment
public String getFragment()
-
apply
public void apply(GraphContainer graphContainer, Collection<HistoryOperation> operations, ServiceLocator serviceLocator)
-
-