Package logging
Klasse LogElement
java.lang.Object
logging.LogElement
- Bekannte direkte Unterklassen:
OurLogElement
This class provides the basic log list element.
Use it in assoziation with packages logging and visualization.
It is used to store all relevant information about a algorithm processing'S single step.
Extend it by the members you need.
- Siehe auch:
-
Feldübersicht
Modifizierer und TypFeldBeschreibungprotected String
Description of the single step's process.protected int
The step number of the single step within a algorithm's log element list. -
Konstruktorübersicht
KonstruktorBeschreibungStandard constructor.LogElement
(int step, String description) Creates a log element with the specified step number and description. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungReturns the step's description.int
getStep()
Returns the step's step number.void
setDescription
(String description) Sets the step's description.void
setStep
(int step) Sets the step's step number.
-
Felddetails
-
step
protected int stepThe step number of the single step within a algorithm's log element list. -
description
Description of the single step's process.
-
-
Konstruktordetails
-
LogElement
public LogElement()Standard constructor. Creates a log element with step number 0 and "No description available." as description. -
LogElement
Creates a log element with the specified step number and description.- Parameter:
step
- step numberdescription
- step description
-
-
Methodendetails
-
getStep
public int getStep()Returns the step's step number.- Gibt zurück:
- the step's step number
-
setStep
public void setStep(int step) Sets the step's step number.- Parameter:
step
- the step's step number
-
getDescription
Returns the step's description.- Gibt zurück:
- the step's description
-
setDescription
Sets the step's description.- Parameter:
description
- the step's description
-