PREV CLASS NEXT CLASS
Tree SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD com.ibm.policy.manager
Interface Target
public interface TargetTarget 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.
- Since:
- 6.0
Method Summary java.lang.Object get(java.lang.String key)
Retrieve an attribute of the Target, for use in a Rulejava.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 Targetjava.util.Set keys()
Retrieve a list of attributes which rules could access about this Targetvoid 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 Targetvoid setContext(RuleContext ctx)
Set the rule context for this Target
Method Detail get
java.lang.Object get(java.lang.String key)
- Retrieve an attribute of the Target, for use in a Rule
- Parameters:
- key - the name of the attribute
- Returns:
- an attribute of the Target, for use in a Rule
keys
java.util.Set keys()
- Retrieve a list of attributes which rules could access about this Target
- Returns:
- an Enumeration of all of the attributes which rules could access about this Target
getId
java.lang.String getId()
- Retrieve a String that uniquely identifies this Target within the WebSphere cell.
- Returns:
- a String which is uniquely identifies this Target within the WebSphere cell.
put
void put(java.lang.String name, java.lang.Object value)
- Set the value of an attribute in a Target. For example, RuleContext
- Parameters:
- name - the name of the attribute
- value - the new value of the attribute
remove
void remove(java.lang.String name)
- Remove an attribute from a Target
- Parameters:
- name - the name of the attribute
setContext
void setContext(RuleContext ctx)
- Set the rule context for this Target
- Parameters:
- ctx - RuleContext used to execute rule
getRuleContext
RuleContext getRuleContext()
- Retrieve the RuleContext for this Target
- Returns:
- RuleContext used to execute rule
getCacheKey
java.lang.String getCacheKey()PREV CLASS NEXT CLASS
- Returns:
- : Returns concatenated hashCode of values in HashMap of RuleContext
Tree SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD