|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.oozie.util.MappingRule
public class MappingRule
Class for rule mapping
Constructor Summary | |
---|---|
MappingRule(String fromRule,
String toRule)
Maps from source rule to destination rule |
Method Summary | |
---|---|
String |
applyRule(String input)
Applies rules based on the input |
String |
getFromRule()
Gets the from rule |
String |
getToRule()
Gets the to rule |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MappingRule(String fromRule, String toRule)
fromRule
- - Rule for which input needs to be matchedtoRule
- - Rule for value to be returnedMethod Detail |
---|
public String getFromRule()
public String getToRule()
public String applyRule(String input)
input
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |