Package org.jboss.windup.tooling.rules
Interface Rule
-
- All Superinterfaces:
Serializable
public interface Rule extends Serializable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetRuleContents()This contains the text of the rule itself.StringgetRuleID()Contains the unique identifier of this rule within the provider.intgetVersion()Contains a value used for conflict resolution during concurrent updates.voidsetRuleContents(String ruleContents)This contains the text of the rule itself.voidsetRuleID(String ruleID)Contains the unique identifier of this rule within the provider.voidsetVersion(int version)Contains a value used for conflict resolution during concurrent updates.
-
-
-
Method Detail
-
getVersion
int getVersion()
Contains a value used for conflict resolution during concurrent updates.
-
setVersion
void setVersion(int version)
Contains a value used for conflict resolution during concurrent updates.
-
getRuleID
String getRuleID()
Contains the unique identifier of this rule within the provider. This is only guaranteed to be unique within the context of a single Rule provider.
-
setRuleID
void setRuleID(String ruleID)
Contains the unique identifier of this rule within the provider. This is only guaranteed to be unique within the context of a single Rule provider.
-
getRuleContents
String getRuleContents()
This contains the text of the rule itself. In the case of XML rules, this will be the literal text. In the case of Java rules, this will be a readable approximation of the rule itself.
-
setRuleContents
void setRuleContents(String ruleContents)
This contains the text of the rule itself. In the case of XML rules, this will be the literal text. In the case of Java rules, this will be a readable approximation of the rule itself.
-
-