Class StringProcessor.NoOpStringProcessor

java.lang.Object
cloud.commandframework.annotations.StringProcessor.NoOpStringProcessor
All Implemented Interfaces:
StringProcessor
Enclosing interface:
StringProcessor

public static final class StringProcessor.NoOpStringProcessor extends Object implements StringProcessor
  • Constructor Details

    • NoOpStringProcessor

      public NoOpStringProcessor()
  • Method Details

    • processString

      public @NonNull String processString(@NonNull String input)
      Description copied from interface: StringProcessor
      Processes the input string and returns the processed result.

      This should always return a non-null result. If the input string isn't applicable to the processor implementation, the original string should be returned.

      Specified by:
      processString in interface StringProcessor
      Parameters:
      input - the input string
      Returns:
      the processed string