org.apache.jetspeed.profiler.rules.impl
Class RoleComboCriterionResolver
java.lang.Object
org.apache.jetspeed.profiler.rules.impl.StandardResolver
org.apache.jetspeed.profiler.rules.impl.RoleComboCriterionResolver
- All Implemented Interfaces:
- java.io.Serializable, RuleCriterionResolver
public class RoleComboCriterionResolver
- extends StandardResolver
- implements RuleCriterionResolver
Role combo resolver
Combines all roles into one string
Example: roles = a,b,c
RoleCombo = a-b-c
- Version:
- $Id: RoleCriterionResolver.java 187756 2004-10-15 22:58:43Z ate $
- Author:
- David Sean Taylor
- See Also:
- Serialized Form
Field Summary |
protected static org.apache.commons.logging.Log |
log
|
Fields inherited from interface org.apache.jetspeed.profiler.rules.RuleCriterionResolver |
COUNTRY, GROUP, GROUP_ROLE_USER, HARD_CODED, LANGUAGE, MEDIATYPE, NAVIGATION, PAGE, PATH, PATH_SESSION, REQUEST, REQUEST_SESSION, ROLE, ROLE_FALLBACK, SESSION, USER, USER_AGENT, USER_ATTRIBUTE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static final org.apache.commons.logging.Log log
RoleComboCriterionResolver
public RoleComboCriterionResolver()
resolve
public java.lang.String resolve(RequestContext context,
RuleCriterion criterion)
- Description copied from interface:
RuleCriterionResolver
- Resolver the value for a criterion.
- Specified by:
resolve
in interface RuleCriterionResolver
- Overrides:
resolve
in class StandardResolver
- Parameters:
context
- The request context.criterion
- The criterion being evaluated.
- Returns:
- The value of the criterion or null if not found.
Returns null to indicate to subclasses to continue processing.
isControl
public boolean isControl(RuleCriterion criterion)
- Description copied from interface:
RuleCriterionResolver
- Gets the control classification of the resolver.
- Specified by:
isControl
in interface RuleCriterionResolver
- Overrides:
isControl
in class StandardResolver
- Returns:
- The control class flag
Copyright © 1999-2009 Apache Software Foundation. All Rights Reserved.