Class OutputHelper

java.lang.Object
com.github.eventmanager.internal.OutputHelper

public class OutputHelper extends Object
  • Field Details

  • Constructor Details

    • OutputHelper

      public OutputHelper(LogHandler logHandler)
  • Method Details

    • initialiseOutputs

      public void initialiseOutputs()
      Initialises all output destinations.
    • addNewOutput

      public void addNewOutput(OutputEntry outputEntry)
    • addOutput

      public boolean addOutput(OutputEntry outputEntry)
    • removeOutput

      public boolean removeOutput(String outputName)
    • removeOutput

      public boolean removeOutput(OutputEntry outputEntry)
      Removes an output destination.
      Parameters:
      outputEntry - the output entry to remove.
      Returns:
      true if the output was removed, false otherwise.
    • outputEvent

      public void outputEvent(String event)
      Output the internal events to all output destinations.
    • outputEvent

      public void outputEvent(InternalEventManager internalEventManager, String event)
      Output the event to all output destinations.