public class KahinaState extends java.lang.Object implements java.io.Serializable, KahinaListener
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.Integer,java.util.Set<KahinaLineReference>> |
consoleLines |
protected KahinaTextModel |
consoleMessages |
protected KahinaInstance<?,?,?,?> |
kahina |
protected java.util.Map<KahinaBreakpoint,java.lang.Integer> |
matchCountByBreakpoint |
protected java.util.Map<KahinaBreakpoint,java.lang.Integer> |
warnThresholdByBreakpoint |
Constructor and Description |
---|
KahinaState(KahinaInstance<?,?,?,?> kahina) |
Modifier and Type | Method and Description |
---|---|
void |
consoleMessage(int stepID,
java.lang.String message) |
KahinaStep |
get(int stepID)
Shortcut for quick access to step data; should be overriden in the obvios way for custom step types.
|
KahinaTextModel |
getConsoleMessages() |
java.util.Set<KahinaLineReference> |
getLineReferencesForStep(int stepID) |
java.util.Map<KahinaBreakpoint,java.lang.Integer> |
getMatchCountByBreakpoint() |
int |
getSelectedStepID() |
int |
getStepCount() |
ObjectMagazine<KahinaStep> |
getSteps() |
java.util.Map<KahinaBreakpoint,java.lang.Integer> |
getWarnThresholdByBreakpoint() |
void |
initialize() |
void |
loadSteps(java.io.File directory) |
int |
nextStepID() |
void |
processEvent(KahinaEvent event) |
protected void |
processSelection() |
<T extends KahinaObject> |
retrieve(java.lang.Class<T> type,
int stepID) |
void |
store(int id,
KahinaObject object) |
protected KahinaTextModel consoleMessages
protected java.util.Map<java.lang.Integer,java.util.Set<KahinaLineReference>> consoleLines
protected java.util.Map<KahinaBreakpoint,java.lang.Integer> warnThresholdByBreakpoint
protected java.util.Map<KahinaBreakpoint,java.lang.Integer> matchCountByBreakpoint
protected KahinaInstance<?,?,?,?> kahina
public KahinaState(KahinaInstance<?,?,?,?> kahina)
public void initialize()
public int nextStepID()
public int getStepCount()
public ObjectMagazine<KahinaStep> getSteps()
public void store(int id, KahinaObject object)
public <T extends KahinaObject> T retrieve(java.lang.Class<T> type, int stepID)
public void loadSteps(java.io.File directory)
public void processEvent(KahinaEvent event)
processEvent
in interface KahinaListener
protected void processSelection()
public int getSelectedStepID()
public void consoleMessage(int stepID, java.lang.String message)
public KahinaTextModel getConsoleMessages()
public java.util.Set<KahinaLineReference> getLineReferencesForStep(int stepID)
public java.util.Map<KahinaBreakpoint,java.lang.Integer> getMatchCountByBreakpoint()
public java.util.Map<KahinaBreakpoint,java.lang.Integer> getWarnThresholdByBreakpoint()
public KahinaStep get(int stepID)
stepID
-