| |
|
| org.apache.jetspeed.profiler.rules.PrincipalRule
All known Subclasses: org.apache.jetspeed.profiler.rules.impl.PrincipalRuleImpl,
PrincipalRule | public interface PrincipalRule extends Serializable(Code) | | PrincipalRule is a paired association from principal to rule.
This pair is unique in that there can only be a one entry for a principal which maps to a rule.
This association is used by the profiler to determine which profiling rule to apply for a principal.
If a rule is not found, there should be a default system wide rule.
author: David Sean Taylor version: $Id: PrincipalRule.java 516448 2007-03-09 16:25:47Z ate $ |
Method Summary | |
String | getLocatorName() Gets the name of the locator in this principal/rule/locator pair association. | String | getPrincipalName() Gets the name of the principal in this principal/rule/locator pair association.
The principal name identifies the uniqueness of the relationship.
It is used for keyed lookups to find the rule associated with this principal. | ProfilingRule | getProfilingRule() | void | setLocatorName(String name) Sets the name of the locator in this principal/locator/rule pair association. | void | setPrincipalName(String name) Sets the name of the principal in this principal/rule/locator pair association.
The principal name identifies the uniqueness of the relationship.
It is used for keyed lookups to find the rule associated with this principal. | void | setProfilingRule(ProfilingRule rule) |
getLocatorName | String getLocatorName()(Code) | | Gets the name of the locator in this principal/rule/locator pair association.
The principal + locator name identifies the uniqueness of the relationship.
It is used for keyed lookups to find the rule associated with this principal
for a given locator
The name of the locator in this association. |
getPrincipalName | String getPrincipalName()(Code) | | Gets the name of the principal in this principal/rule/locator pair association.
The principal name identifies the uniqueness of the relationship.
It is used for keyed lookups to find the rule associated with this principal.
The name of the principal in this association. |
getProfilingRule | ProfilingRule getProfilingRule()(Code) | | Gets the profiling rule associated with the principal name
The profiling rule associated with the principal name |
setLocatorName | void setLocatorName(String name)(Code) | | Sets the name of the locator in this principal/locator/rule pair association.
The principal name + locator name identifies the uniqueness of the relationship.
It is used for keyed lookups to find the rule associated with this principal
for a given locator
Parameters: name - The name of the locator in this association. |
setPrincipalName | void setPrincipalName(String name)(Code) | | Sets the name of the principal in this principal/rule/locator pair association.
The principal name identifies the uniqueness of the relationship.
It is used for keyed lookups to find the rule associated with this principal.
Parameters: name - The name of the principal in this association. |
setProfilingRule | void setProfilingRule(ProfilingRule rule)(Code) | | Sets the profiling rule associated with the principal name
Parameters: rule - The profiling rule associated with the principal name |
|
|
|