public static class ArgumentSubstitutionParser.Substitution extends Object
Constructor and Description |
---|
Substitution(String method,
String argName,
String replacement)
Creates a substitution for all argument types.
|
Substitution(String method,
String argName,
String argType,
String replacement)
Creates a substitution for a specific argument type.
|
Substitution(String method,
String argName,
String argType,
String replacement,
boolean replaceWithType)
Create a substitution for a specific argument type and flag to indicate whether the replacement uses
|
public Substitution(String method, String argName, String replacement)
method
- regex to match method nameargName
- regex to match argument namereplacement
- replacement text for argument namepublic Substitution(String method, String argName, String argType, String replacement)
method
- regex to match method nameargName
- regex to match argument nameargType
- argument type as Stringreplacement
- replacement text for argument nameApache Camel