Package logging

Klasse LogElement

java.lang.Object
logging.LogElement
Bekannte direkte Unterklassen:
OurLogElement

public abstract class LogElement extends Object
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

    Felder
    Modifizierer und Typ
    Feld
    Beschreibung
    protected 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

    Konstruktoren
    Konstruktor
    Beschreibung
    Standard constructor.
    LogElement(int step, String description)
    Creates a log element with the specified step number and description.
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    Returns the step's description.
    int
    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.

    Von Klasse geerbte Methoden java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Felddetails

    • step

      protected int step
      The step number of the single step within a algorithm's log element list.
    • description

      protected String 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

      public LogElement(int step, String description)
      Creates a log element with the specified step number and description.
      Parameter:
      step - step number
      description - 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

      public String getDescription()
      Returns the step's description.
      Gibt zurück:
      the step's description
    • setDescription

      public void setDescription(String description)
      Sets the step's description.
      Parameter:
      description - the step's description