Class ArgumentSubstitutionParser.Substitution
java.lang.Object
org.apache.camel.support.component.ArgumentSubstitutionParser.Substitution
- Enclosing class:
ArgumentSubstitutionParser<T>
-
Constructor Summary
ConstructorsConstructorDescriptionSubstitution(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 -
Method Summary
-
Constructor Details
-
Substitution
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
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
-
Substitution
public 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
-
-
Method Details
-
validate
public void validate()
-