public interface PageDescriptor
PageDescriptor
interface identifies the information that is
known about a ClipboardPage
during First-Use Assembly processing.Modifier and Type | Interface and Description |
---|---|
static class |
PageDescriptor.PrimaryAssemblyPageReliability |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT |
static char |
MATCH_EXACT
Useful constant to indicate that a given page name EXACTLY matched an entry
in pages and classes.
|
static char |
MATCH_NOT_FOUND
Useful constant to indicate that no match was found in pages and classes
for the page name.
|
static char |
MATCH_PREFIX
Useful constant to indicate that an entry in pages and classes STARTS with
the given page name.
|
static java.lang.String |
VERSION |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getClassName()
Returns the best information about the class of this page that is known
during First-Use Assembly.
|
int |
getMatchSegments()
Returns the number of segments of a reference that were matched during
Pages and Classes lookup
|
char |
getMatchType()
Returns the match type of the page name found in the Page and Classes tab.
|
java.lang.String |
getPageName()
Returns the name if this page, if it is known during First-Use Assembly.
|
PageDescriptor.PrimaryAssemblyPageReliability |
getPrimaryPageValueReliability() |
java.lang.String |
getScopeName() |
boolean |
isExactClass()
Indicates whether the value returned by
getClassName() is the
actual class of this page, or only a defined constraint on its class. |
boolean |
isParameter()
Indicates whether the page is defined as a "parameter" to the Rule
rather than being an explicit page reference.
|
boolean |
isPrimaryPageForAssembly() |
boolean |
isScopedStep() |
boolean |
setClass(java.lang.String aClassName,
boolean aIsExact) |
void |
setIsExactClass(boolean aIsExact) |
void |
setMatchData(char aMatchType,
int aMatchSegments) |
void |
setPrimaryPageForAssembly(boolean aIsPrimaryStepPageForAssembly,
PageDescriptor.PrimaryAssemblyPageReliability aReliability) |
static final java.lang.String VERSION
static final java.lang.String COPYRIGHT
static final char MATCH_NOT_FOUND
static final char MATCH_PREFIX
static final char MATCH_EXACT
java.lang.String getPageName()
String
if this page is anonymous (including embedded pages), or null
if no information about the class of this page is available.java.lang.String getClassName()
String
if this page is classless, or null
if no
information about the class of this page is available.boolean isExactClass()
getClassName()
is the
actual class of this page, or only a defined constraint on its class.true
if the class of this page should match the
value returned by getClassName
; false
if the
class of this page should derive from, but might not match, the value
returned by getClassName
, or if getClassName
returns null
.boolean isParameter()
true
if page is referenced in the Rule's parameter
list.char getMatchType()
char
Allowed values are:
FUAPagesAndClassesHelper.MATCH_NOT_FOUND
FUAPagesAndClassesHelper.MATCH_EXACT
FUAPagesAndClassesHelper.MATCH_PREFIXint getMatchSegments()
java.lang.String getScopeName()
boolean isScopedStep()
boolean setClass(java.lang.String aClassName, boolean aIsExact)
void setIsExactClass(boolean aIsExact)
void setMatchData(char aMatchType, int aMatchSegments)
boolean isPrimaryPageForAssembly()
PageDescriptor.PrimaryAssemblyPageReliability getPrimaryPageValueReliability()
void setPrimaryPageForAssembly(boolean aIsPrimaryStepPageForAssembly, PageDescriptor.PrimaryAssemblyPageReliability aReliability)
Copyright © 2018 Pegasystems Inc. All Rights Reserved.