| org.apache.jetspeed.profiler.rules.RuleCriterion
All known Subclasses: org.apache.jetspeed.profiler.rules.impl.RuleCriterionImpl,
RuleCriterion | public interface RuleCriterion extends Serializable(Code) | | A RuleCriterion specifies one criterion in a list of profiling rule criteria.
This list is used to build normalized profiling locator and then
locate a portal resource based on the request.
author: David Sean Taylor version: $Id: RuleCriterion.java 516448 2007-03-09 16:25:47Z ate $ |
Method Summary | |
int | getFallbackOrder() Sets the fallback order for this criterion. | int | getFallbackType() Gets the fallback type for this criterion. | String | getName() Gets the name of the parameter, attribute or property in the portal request. | String | getRuleId() | String | getType() Gets the rule request type for this specific criterion. | String | getValue() Gets the value of the parameter, attribute or property in the portal request. | void | setFallbackOrder(int order) Gets the fallback order for this criterion. | void | setFallbackType(int order) Sets the fallback type for this criterion. | void | setName(String name) Sets the name of the parameter, attribute or property in the portal request. | void | setRuleId(String ruleId) | void | setType(String type) Sets the rule request type for this specific criterion. | void | setValue(String value) Sets the value of the parameter, attribute or property in the portal request. |
FALLBACK_CONTINUE | final public static int FALLBACK_CONTINUE(Code) | | |
FALLBACK_LOOP | final public static int FALLBACK_LOOP(Code) | | |
FALLBACK_STOP | final public static int FALLBACK_STOP(Code) | | |
getFallbackOrder | int getFallbackOrder()(Code) | | Sets the fallback order for this criterion.
Lower numbers are returned first during iteration.
Higher numbers should be put on the locator stack first.
The fallback order for this criterion. |
getFallbackType | int getFallbackType()(Code) | | Gets the fallback type for this criterion.
Fallback types are used when locating a profiled resource.
The type tells the Profiling rule what to do next on failed criterion matching.
Known values:
FALLBACK_CONTINUE - evaluate this criterion and if it fails continue to the next criterion
FALLBACK_STOP - evaluate this criterion and if it fails stop evaluation criteria for this rule
FALLBACK_LOOP - evaluate this criterion and if it fails continue evaluating
The fallback type for this criterion, should be a valid value as shown above. |
getName | String getName()(Code) | | Gets the name of the parameter, attribute or property in the portal request.
This name is used to lookup the value of the request parameter, attribute, or
property when building a profile locator.
The name of the request parameter, attribute or property. |
getRuleId | String getRuleId()(Code) | | Gets the unique rule identifier for the associated owner rule
The rule's unique identifier |
getType | String getType()(Code) | | Gets the rule request type for this specific criterion.
Rule types determine which type of request property, parameter or attribute
to look at when building a profiling locator.
The request type associated with this criterion. |
getValue | String getValue()(Code) | | Gets the value of the parameter, attribute or property in the portal request.
The value of the request parameter, attribute or property. |
setFallbackOrder | void setFallbackOrder(int order)(Code) | | Gets the fallback order for this criterion.
Lower numbers are returned first during iteration.
Higher numbers should be put on the locator stack first.
Parameters: order - The fallback order for this criterion. |
setFallbackType | void setFallbackType(int order)(Code) | | Sets the fallback type for this criterion.
Fallback types are used when locating a profiled resource.
The type tells the Profiling rule what to do next on failed criterion matching.
Known values:
FALLBACK_CONTINUE - evaluate this criterion and if it fails continue to the next criterion
FALLBACK_STOP - evaluate this criterion and if it fails stop evaluation criteria for this rule
FALLBACK_LOOP - evaluate this criterion and if it fails continue evaluating
Parameters: The - fallback type for this criterion, should be a valid value as shown above. |
setName | void setName(String name)(Code) | | Sets the name of the parameter, attribute or property in the portal request.
This name is used to lookup the value of the request parameter, attribute, or
property when building a profile locator.
Parameters: The - name of the request parameter, attribute or property. |
setRuleId | void setRuleId(String ruleId)(Code) | | Sets the unique rule identifier for the associated owner rule
Parameters: id - The rule's unique identifier |
setType | void setType(String type)(Code) | | Sets the rule request type for this specific criterion.
Rule types determine which type of request property, parameter or attribute
to look at when building a profiling locator.
Parameters: The - request type associated with this criterion. |
setValue | void setValue(String value)(Code) | | Sets the value of the parameter, attribute or property in the portal request.
Parameters: The - value of the request parameter, attribute or property. |
|
|