Package org.jboss.windup.config
Class RuleUtils
- java.lang.Object
-
- org.jboss.windup.config.RuleUtils
-
public class RuleUtils extends Object
Utils for the Metadata. Will be likely moved to Windup Utils.- Author:
- Ondrej Zizka
-
-
Constructor Summary
Constructors Constructor Description RuleUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringprettyPrintRule(org.ocpsoft.rewrite.config.Rule rule)Describes givenRuleas:static StringruleToRuleContentsString(org.ocpsoft.rewrite.config.Rule originalRule, int indentLevel)Attempts to create a human-readable String representation of the provided rule.
-
-
-
Method Detail
-
prettyPrintRule
public static String prettyPrintRule(org.ocpsoft.rewrite.config.Rule rule)
Describes givenRuleas:ID: Phase - Provider [tags ...]".
-
ruleToRuleContentsString
public static String ruleToRuleContentsString(org.ocpsoft.rewrite.config.Rule originalRule, int indentLevel)
Attempts to create a human-readable String representation of the provided rule.
-
-