Class ArgumentSubstitutionParser.Substitution
- java.lang.Object
-
- org.apache.camel.support.component.ArgumentSubstitutionParser.Substitution
-
- Enclosing class:
- ArgumentSubstitutionParser<T>
public static class ArgumentSubstitutionParser.Substitution extends Object
-
-
Constructor Summary
Constructors Constructor 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
-
-
-
Constructor Detail
-
Substitution
public Substitution(String method, String argName, String replacement)
Creates a substitution for all argument types.- Parameters:
method
- regex to match method nameargName
- regex to match argument namereplacement
- replacement text for argument name
-
Substitution
public Substitution(String method, String argName, String argType, String replacement)
Creates a substitution for a specific argument type.- Parameters:
method
- regex to match method nameargName
- regex to match argument nameargType
- argument type as Stringreplacement
- replacement text for argument name
-
-