public class RuleConfiguration extends Object
Constructor and Description |
---|
RuleConfiguration()
Create a new RuleConfiguration object that contains settings for rule based processing.
|
Modifier and Type | Method and Description |
---|---|
RuleConfiguration |
deepCopy()
Create a deep copy of this RuleConfiguration.
|
Set<String> |
getDisplayChangesInvolving()
Reports the current setting of the DisplayChangesBy parameter.
|
String |
getDisplayChangesTo()
Reports the current setting of the DisplayChangesTo parameter.
|
String |
getDisplayFormatChangesIn()
Reports the current setting of the DisplayFormatChangesIn parameter.
|
boolean |
getDisplaySimpleAdds()
Reports the current setting of the DisplaySimpleAdds parameter.
|
boolean |
getDisplaySimpleDeletes()
Reports the current setting of the DisplaySimpleDeletes parameter.
|
boolean |
getDisplaySimpleModify()
Reports the current setting of the DisplaySimpleModify parameter.
|
List<String> |
getVersionPriorityList()
Reports the current setting of the Version Priority list.
|
boolean |
isDisableRulesForAllTableContent() |
boolean |
isDisableRulesForTables() |
void |
setDisableRulesForAllTableContent(boolean disableRulesForAllTableContent) |
void |
setDisableRulesForTables(boolean disableRulesForTables) |
void |
setDisplayChangesInvolving(Set<String> versions)
Specifies the set of versions for which all changes should be displayed.
|
void |
setDisplayChangesTo(String xpath)
Specifies which elements in the result are always displayed to the user.
|
void |
setDisplayFormatChangesIn(String xpath)
Specifies which elements contain formatting elements, where the user wants formatting changes displayed.
|
void |
setDisplaySimpleAdds(boolean display)
Controls whether simple adds are displayed.
|
void |
setDisplaySimpleDeletes(boolean display)
Controls whether simple deletes are displayed.
|
void |
setDisplaySimpleModify(boolean display)
Controls whether simple modifications are displayed.
|
void |
setVersionPriorityList(List<String> priorityList)
Specifies the version priority list for resolving simple conflicts.
|
String |
toString() |
public RuleConfiguration()
public void setDisplayChangesInvolving(Set<String> versions)
versions
- a set of delta versions specified using Stringspublic Set<String> getDisplayChangesInvolving()
public void setDisplayChangesTo(String xpath) throws IllegalArgumentException
xpath
- An XPath expression (up to XPath 3.1) that returns 0 or more elements when evaluated against the raw result.IllegalArgumentException
- if the string is null, zero length or cannot be compiled to an XPathpublic String getDisplayChangesTo()
public void setDisplayFormatChangesIn(String xpath) throws IllegalArgumentException
xpath
- An XPath expression (up to XPath 3.1) that returns 0 or more elements when evaluated against the raw result.IllegalArgumentException
- if the string is null, zero length or cannot be compiled to an XPathpublic String getDisplayFormatChangesIn()
public void setDisplaySimpleAdds(boolean display)
display
- when true all adds are displayed, when false adds are displayed according to other rulespublic boolean getDisplaySimpleAdds()
public void setDisplaySimpleDeletes(boolean display)
display
- when true all deletes are displayed, when false deletes are displayed according to other rulespublic boolean getDisplaySimpleDeletes()
public void setDisplaySimpleModify(boolean display)
display
- when true all modifications are displayed, when false modifications are displayed according to other rulespublic boolean getDisplaySimpleModify()
public void setVersionPriorityList(List<String> priorityList)
priorityList
- a list of priority versions specified using Stringspublic List<String> getVersionPriorityList()
public boolean isDisableRulesForTables()
public void setDisableRulesForTables(boolean disableRulesForTables)
public boolean isDisableRulesForAllTableContent()
public void setDisableRulesForAllTableContent(boolean disableRulesForAllTableContent)
public RuleConfiguration deepCopy()
Copyright © 2023 Deltaman Group Ltd. All Rights Reserved.