public final class CircumstanceResult
extends java.lang.Object
An instance of this class consists of a status (an instance of
CircumstanceResult.Status
) and
a clipboard page. There are three possibilities:
CircumstanceResult.Status.oGood
and the clipboard page is the rule version.CircumstanceResult.Status.oBlocked
and the clipboard page is one of the blocked rule versions.CircumstanceResult.Status.oMultipleVersions
and the clipboard page is one of the versions.In addition, instances of this class can report on the circumstance property (assuming there is only one) and the expiration date for the result.
Modifier and Type | Class and Description |
---|---|
static class |
CircumstanceResult.Status
Deprecated.
The possible results for resolving a rule for a specific circumstance.
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
Deprecated.
|
static java.lang.String |
VERSION
Deprecated.
|
Constructor and Description |
---|
CircumstanceResult(CircumstanceResult.Status aStatus,
ClipboardPage aVersion,
java.lang.String aCircumstanceProperty,
java.util.Date aExpirationDate)
Deprecated.
Creates a result.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCircumstanceProperty()
Deprecated.
What is the circumstance property for this result?
|
java.util.Date |
getExpirationDate()
Deprecated.
What is the expiration date for this result?
|
CircumstanceResult.Status |
getStatus()
Deprecated.
Returns the status.
|
ClipboardPage |
getVersion()
Deprecated.
Returns the version.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String VERSION
public CircumstanceResult(CircumstanceResult.Status aStatus, ClipboardPage aVersion, java.lang.String aCircumstanceProperty, java.util.Date aExpirationDate)
aStatus
- the statusaVersion
- the versionaCircumstanceProperty
- aExpirationDate
- public CircumstanceResult.Status getStatus()
public ClipboardPage getVersion()
public java.lang.String getCircumstanceProperty()
public java.util.Date getExpirationDate()
Copyright © 2018 Pegasystems Inc. All Rights Reserved.