public class ReplaceSubStringModifierMethod extends PrimitiveModifierMethod
| Constructor and Description |
|---|
ReplaceSubStringModifierMethod() |
| Modifier and Type | Method and Description |
|---|---|
Object |
doModification(Object currentObject,
de.fraunhofer.iese.ind2uce.api.policy.parameter.ParameterList modifierMethodParameterList)
This method to be overridden when modifier wants to handle primitive type
like Integer(int), Float(float), Boolean(boolean), Long(long),
Short(short), Byte(byte) and Double(double) and String
|
String |
getDisplayName() |
String |
replaceSubstring(String currentString,
String substring,
String replacement,
String mode) |
doModification, nameIsValidpublic String getDisplayName()
public Object doModification(Object currentObject, de.fraunhofer.iese.ind2uce.api.policy.parameter.ParameterList modifierMethodParameterList)
ModifierMethoddoModification in interface ModifierMethoddoModification in class PrimitiveModifierMethodcurrentObject - The primitive value for modification.modifierMethodParameterList - List of parameters that should be used
for modificationCopyright © 2018. All rights reserved.