java.lang.Object
com.github.eventmanager.internal.OutputHelper
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addNewOutput
(OutputEntry outputEntry) boolean
addOutput
(OutputEntry outputEntry) void
Initialises all output destinations.void
outputEvent
(InternalEventManager internalEventManager, String event) Output the event to all output destinations.void
outputEvent
(String event) Output the internal events to all output destinations.boolean
removeOutput
(OutputEntry outputEntry) Removes an output destination.boolean
removeOutput
(String outputName)
-
Field Details
-
outputs
-
-
Constructor Details
-
OutputHelper
-
-
Method Details
-
initialiseOutputs
public void initialiseOutputs()Initialises all output destinations. -
addNewOutput
-
addOutput
-
removeOutput
-
removeOutput
Removes an output destination.- Parameters:
outputEntry
- the output entry to remove.- Returns:
- true if the output was removed, false otherwise.
-
outputEvent
Output the internal events to all output destinations. -
outputEvent
Output the event to all output destinations.
-