Package io.codemodder
Annotation Interface CodemodParameter
Describes a codemod parameter.
-
Nested Class Summary
Nested Classes -
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionThe default value if the user didn't specify one.A description of the parameter.The name of the parameter.The question to ask the user when they are prompted for this parameter.A regex pattern that describes the valid values for this parameter. -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionThe type of the parameter.
-
Element Details
-
question
String questionThe question to ask the user when they are prompted for this parameter. -
name
String nameThe name of the parameter. -
label
String labelA description of the parameter. -
defaultValue
String defaultValueThe default value if the user didn't specify one. -
validationPattern
String validationPatternA regex pattern that describes the valid values for this parameter.
-
-
-
type
The type of the parameter. This is used to determine how to parse the value from the user.- Default:
- STRING
-