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
-
Nested Class Summary
Nested classes/interfaces inherited from interface cloud.commandframework.annotations.StringProcessor
StringProcessor.NoOpStringProcessor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NonNull String
processString
(@NonNull String input) Processes theinput
string and returns the processed result.
-
Constructor Details
-
NoOpStringProcessor
public NoOpStringProcessor()
-
-
Method Details
-
processString
Description copied from interface:StringProcessor
Processes theinput
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 interfaceStringProcessor
- Parameters:
input
- the input string- Returns:
- the processed string
-