|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Target
Target represents the object used to abstract a rule engine for the purpose of policy evaluation.
Use the PolicyManager interface to generate a Target consumable by Policy Manager.
Method Summary | |
---|---|
java.lang.Object |
get(java.lang.String key)
Retrieve an attribute of the Target, for use in a Rule |
java.lang.String |
getCacheKey()
|
java.lang.String |
getId()
Retrieve a String that uniquely identifies this Target within the WebSphere cell. |
RuleContext |
getRuleContext()
Retrieve the RuleContext for this Target |
java.util.Set |
keys()
Retrieve a list of attributes which rules could access about this Target |
void |
put(java.lang.String name,
java.lang.Object value)
Set the value of an attribute in a Target. |
void |
remove(java.lang.String name)
Remove an attribute from a Target |
void |
setContext(RuleContext ctx)
Set the rule context for this Target |
Method Detail |
---|
java.lang.Object get(java.lang.String key)
key
- the name of the attribute
java.util.Set keys()
java.lang.String getId()
void put(java.lang.String name, java.lang.Object value)
name
- the name of the attributevalue
- the new value of the attributevoid remove(java.lang.String name)
name
- the name of the attributevoid setContext(RuleContext ctx)
ctx
- RuleContext used to execute ruleRuleContext getRuleContext()
java.lang.String getCacheKey()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |