public abstract class AbstractRule
extends java.lang.Object
DefaultRule
.
Rules will check events which are generated from operations performed by
users in the OpenPages system. If the event applies to the rule, then the
event handlers configured for the trigger will handle the event.Constructor and Description |
---|
AbstractRule()
Default Constructor
|
AbstractRule(java.util.Map<java.lang.String,java.lang.String> ruleAttributes) |
Modifier and Type | Method and Description |
---|---|
java.util.HashMap<java.lang.String,java.lang.String> |
getAttributes()
Returns HashMap containing rule attributes and their values.
|
abstract boolean |
isApplicable(AbstractEvent event)
Determines whether or not the current operation satisfies the rule.
|
void |
setAttributes(java.util.HashMap<java.lang.String,java.lang.String> attributes)
Sets the attributes for rules.
|
public AbstractRule()
public AbstractRule(java.util.Map<java.lang.String,java.lang.String> ruleAttributes)
public java.util.HashMap<java.lang.String,java.lang.String> getAttributes()
public void setAttributes(java.util.HashMap<java.lang.String,java.lang.String> attributes)
public abstract boolean isApplicable(AbstractEvent event)
event
- the current operation to check
Licensed Materials - Property of IBM
OpenPages with Watson (PID: 5725-D51)
© Copyright IBM Corporation 2013, 2022. All Rights Reserved.
US Government Users Restricted Rights -
Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.