Class ConsoleSinkDescriptor

All Implemented Interfaces:
Descriptor

public class ConsoleSinkDescriptor extends AbstractTextSinkDescriptor
Sink for outputting text data to the console.
Author:
Nick Collier
  • Constructor Details

    • ConsoleSinkDescriptor

      public ConsoleSinkDescriptor(String name)
      Creates a ConsoleSinkDescriptor.
      Parameters:
      name -
  • Method Details

    • isEnabled

      public boolean isEnabled()
      Returns:
      the enabled
    • setEnabled

      public void setEnabled(boolean enabled)
      Parameters:
      enabled - the enabled to set
    • getOutputStream

      public ConsoleDataSink.OutputStream getOutputStream()
      Returns:
      the outputStream
    • setOutputStream

      public void setOutputStream(ConsoleDataSink.OutputStream outputStream)
      Parameters:
      outputStream - the outputStream to set