public interface IComparePagesAPI
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COMPARE_DEBUG |
static java.lang.String |
COMPARE_PEGA |
static java.lang.String |
COMPARE_PEGATEST |
static java.lang.String |
COMPARE_TECHNIQUE
Options for debugging alternate comparison techniques.
|
static java.lang.String |
COMPARE_XMLUNIT |
static java.lang.String |
COPYRIGHT |
static java.lang.String |
FALSE
Constant for specifying a
false option |
static java.lang.String |
IGNORE_EMPTY_PROPERTIES
If
true empty properties are ignored and treated the same
as non-existent properties (default behavior). |
static java.lang.String |
IGNORED_PROPERTY_ARRAY_SORTED
Key to entry in control map specifying a sorted String[] of property names to be ignored
|
static java.lang.String |
IGNORED_PROPERTY_ARRAY_UNSORTED
Key to entry in control map specifying a unsorted String[] of property names to be ignored.
|
static java.lang.String |
IGNORED_PROPERTY_USE_DEFAULT
Key to entry in control map specifying that a default list of ignored properties should be used.
|
static java.lang.String |
LIST_EXPAND_AGGREGATE_ELEMENTS
When using
RETURN_DIFFERENCE_LIST , this true/false option controls
whether or not an insert or delete of an aggregate element also shows all of
scalar values in that element as a separate insert/delete change. |
static java.lang.String |
MERGE_FLAG_AGGREGATE_ELEMENTS
When using
RETURN_MERGED_PAGE , these true/false options control
how changes to lists and groups are reported. |
static java.lang.String |
MERGE_FLAG_AGGREGATES
When using
RETURN_MERGED_PAGE , these true/false options control
how changes to lists and groups are reported. |
static java.lang.String |
NOFLAG_PROPERTY_ARRAY_SORTED
Key to entry in control map specifying a sorted String[] of property names that should
not be flagged as different when
RETURN_MERGED_PAGE is used. |
static java.lang.String |
NOFLAG_PROPERTY_ARRAY_UNSORTED
Key to entry in control map specifying a unsorted String[] of property names that should
not be flagged as different when
RETURN_MERGED_PAGE is used. |
static java.lang.String |
NOFLAG_PROPERTY_USE_DEFAULT
Key to entry in control map specifying use of a default list of property names that should
not be flagged as different when
RETURN_MERGED_PAGE is used. |
static java.lang.String |
RETURN_DIFFERENCE_LIST
Value for RETURN_VALUE_DESIRED indicating that a list of differences should be returned
The List returned will contain elements each of which is an array of 7 Strings representing
one difference.
|
static java.lang.String |
RETURN_MERGED_PAGE
Value for RETURN_VALUE_DESIRED indicating that a ClipboardPage of merged data should be returned.
|
static java.lang.String |
RETURN_STREAMED_PAGE
Value for RETURN_VALUE_DESIRED indicating that a streamed version should be returned for debugging.
|
static java.lang.String |
RETURN_TIMINGS |
static java.lang.String |
RETURN_VALUE_DESIRED
Key to entry in control map specifying type of comparison data desired
|
static java.lang.String |
SORT_PROPERTIES
If
true properties are sorted before comparision - which
greatly increases the overhead of processing. |
static java.lang.String |
TRUE
Constant for specifying a
true option |
static java.lang.String |
VERSION |
static final java.lang.String VERSION
static final java.lang.String COPYRIGHT
static final java.lang.String RETURN_VALUE_DESIRED
static final java.lang.String RETURN_STREAMED_PAGE
static final java.lang.String RETURN_DIFFERENCE_LIST
static final java.lang.String RETURN_MERGED_PAGE
static final java.lang.String IGNORED_PROPERTY_ARRAY_SORTED
static final java.lang.String IGNORED_PROPERTY_ARRAY_UNSORTED
static final java.lang.String IGNORED_PROPERTY_USE_DEFAULT
static final java.lang.String IGNORE_EMPTY_PROPERTIES
true
empty properties are ignored and treated the same
as non-existent properties (default behavior). If false
then empty properties and non-existent properties are different. With
the default (true
) behavior, a change to an empty
property will be reported as an "insert" or "delete". With the
alternate behavior, the change will be reported as a "value change".static final java.lang.String TRUE
true
optionstatic final java.lang.String FALSE
false
optionstatic final java.lang.String SORT_PROPERTIES
true
properties are sorted before comparision - which
greatly increases the overhead of processing. The default is false
which does not sort the properties.static final java.lang.String LIST_EXPAND_AGGREGATE_ELEMENTS
RETURN_DIFFERENCE_LIST
, this true/false option controls
whether or not an insert or delete of an aggregate element also shows all of
scalar values in that element as a separate insert/delete change. The default is
false
.static final java.lang.String MERGE_FLAG_AGGREGATES
RETURN_MERGED_PAGE
, these true/false options control
how changes to lists and groups are reported. MERGE_FLAG_AGGREGATES
indicates that the aggregate element itself should be marked as changed. (With
existing Rule Form display, this may be undesirable for Page Lists and introduce
"spurious" messages on the form. By default, this value is FALSE
.)static final java.lang.String MERGE_FLAG_AGGREGATE_ELEMENTS
RETURN_MERGED_PAGE
, these true/false options control
how changes to lists and groups are reported. MERGE_FLAG_AGGREGATE_ELEMENTS
indicates that each scalar element of the aggregate should be marked as changed. (With
existing Rule Form display, this will result in multiple fields of a Page List element
to be flagged with the same notation, cluttering the display - but insures that each
message is associated with a field (that could appear on the form). By default,
this value is TRUE
.)static final java.lang.String NOFLAG_PROPERTY_ARRAY_SORTED
RETURN_MERGED_PAGE
is used. These properties
are still compared (unless they also appear in the "ignore property" list) but will not
be marked as different in the merged page. Typically this list would contain the names
of properties that do not appear as visible fields on the form.static final java.lang.String NOFLAG_PROPERTY_ARRAY_UNSORTED
RETURN_MERGED_PAGE
is used. These properties
are still compared (unless they also appear in the "ignore property" list) but will not
be marked as different in the merged page. Typically this list would contain the names
of properties that do not appear as visible fields on the form.
This is very inefficient as the array is copied and sorted prior to use. Avoid this option
if at all possible.static final java.lang.String NOFLAG_PROPERTY_USE_DEFAULT
RETURN_MERGED_PAGE
is used. These properties
are still compared (unless they also appear in the "ignore property" list) but will not
be marked as different in the merged page. Typically this list would contain the names
of properties that do not appear as visible fields on the form.
The list is subject to change during development of this facility and will stabilize when the
facility is made public.static final java.lang.String COMPARE_TECHNIQUE
static final java.lang.String COMPARE_XMLUNIT
static final java.lang.String COMPARE_PEGATEST
static final java.lang.String COMPARE_PEGA
static final java.lang.String COMPARE_DEBUG
static final java.lang.String RETURN_TIMINGS
Copyright © 2018 Pegasystems Inc. All Rights Reserved.