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.
Version:
$Id: RuleCriterion.java 516448 2007-03-09 16:25:47Z ate $
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.
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.
getFallbackOrder
int getFallbackOrder()
Sets the fallback order for this criterion.
Lower numbers are returned first during iteration.
Higher numbers should be put on the locator stack first.
Returns:
The fallback order for this criterion.
setFallbackOrder
void setFallbackOrder(int order)
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.
getFallbackType
int getFallbackType()
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
Returns:
The fallback type for this criterion, should be a valid value as shown above.
setFallbackType
void setFallbackType(int order)
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.
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.
Returns:
The name of the request parameter, attribute or property.
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.