org.apache.camel.util.component
Class ArgumentSubstitutionParser.Substitution
java.lang.Object
org.apache.camel.util.component.ArgumentSubstitutionParser.Substitution
- Enclosing class:
- ArgumentSubstitutionParser<T>
public static class ArgumentSubstitutionParser.Substitution
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ArgumentSubstitutionParser.Substitution
public ArgumentSubstitutionParser.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
ArgumentSubstitutionParser.Substitution
public ArgumentSubstitutionParser.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
ArgumentSubstitutionParser.Substitution
public ArgumentSubstitutionParser.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
- Parameters:
method - argName - argType - replacement - replaceWithType -
validate
public void validate()
Apache Camel