public class MappingRule extends Object
| Constructor and Description |
|---|
MappingRule(String fromRule,
String toRule)
Maps from source rule to destination rule
|
| Modifier and Type | Method and Description |
|---|---|
String |
applyRule(String input)
Applies rules based on the input
|
String |
getFromRule()
Gets the from rule
|
String |
getToRule()
Gets the to rule
|
public MappingRule(String fromRule, String toRule)
fromRule - - Rule for which input needs to be matchedtoRule - - Rule for value to be returnedpublic String getFromRule()
Copyright © 2018 Apache Software Foundation. All rights reserved.