public class DiameterBasedTreeLogger extends TreeLogger<DiameterBasedTreeLoggerParameters,LoggableTree>
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
shouldBreakAfterGettingPieces |
listeners, loggerTask, owner, params, progressBarEnabled, wrapper| Modifier | Constructor and Description |
|---|---|
protected |
DiameterBasedTreeLogger() |
protected |
DiameterBasedTreeLogger(boolean shouldBreakAfterGettingPieces)
Constructor for derived class.
|
| Modifier and Type | Method and Description |
|---|---|
DiameterBasedTreeLoggerParameters |
createDefaultTreeLoggerParameters()
This method returns a set of default parameters to make sure the logger can work.
|
LoggableTree |
getEligible(LoggableTree t)
This method determines whether or not the tree is eligible for this tree logger.
|
boolean |
isCompatibleWith(TreeLoggerCompatibilityCheck check)
This method makes it possible to determine whether or not this TreeLogger
class is compatible with the reference object
|
protected void |
logThisTree(LoggableTree tree)
This method process the trees into logs.
|
void |
setTreeLoggerParameters()
This method is called in GUI mode.
|
addTreeLoggerListener, addWoodPiece, cancel, getEligibleTreesFromACollection, getFailureReason, getLoggableTrees, getName, getTreeLoggerParameters, getWoodPieces, hasBeenCancelled, init, isCorrectlyTerminated, isSaveMemoryEnabled, isVerbose, logTrees, posteriorToRunning, priorToRunning, removeTreeLoggerListener, run, setProgressBarEnabled, setSaveMemoryEnabled, setTreeLoggerParametersprotected DiameterBasedTreeLogger()
protected DiameterBasedTreeLogger(boolean shouldBreakAfterGettingPieces)
shouldBreakAfterGettingPieces - true should be preferred to false which is a former implementationprotected void logThisTree(LoggableTree tree)
TreeLoggerlogThisTree in class TreeLogger<DiameterBasedTreeLoggerParameters,LoggableTree>public void setTreeLoggerParameters()
TreeLoggersetTreeLoggerParameters in class TreeLogger<DiameterBasedTreeLoggerParameters,LoggableTree>public DiameterBasedTreeLoggerParameters createDefaultTreeLoggerParameters()
TreeLoggercreateDefaultTreeLoggerParameters in class TreeLogger<DiameterBasedTreeLoggerParameters,LoggableTree>public LoggableTree getEligible(LoggableTree t)
TreeLoggergetEligible in class TreeLogger<DiameterBasedTreeLoggerParameters,LoggableTree>t - a LoggableTree instancepublic boolean isCompatibleWith(TreeLoggerCompatibilityCheck check)
TreeLoggerisCompatibleWith in class TreeLogger<DiameterBasedTreeLoggerParameters,LoggableTree>check - a TreeLoggerCompatibilityCheck instance