Package org.incendo.cloud.annotations
Annotation Type Regex
Annotation version of adding
RegexPreprocessor
as a preprocessor using CommandComponent.addPreprocessor(ComponentPreprocessor)-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionKey for the caption used to generate the failure exception.
-
Element Details
-
value
Regular expression pattern- Returns:
- Pattern
-
failureCaption
Key for the caption used to generate the failure exception. Defaults toStandardCaptionKeys.ARGUMENT_PARSE_FAILURE_REGEX- Returns:
- Failure caption key
- Default:
"argument.parse.failure.regex"
-