Class MaxAgeWhereClauseMatchCriteria
java.lang.Object
org.apereo.inspektr.audit.support.AbstractWhereClauseMatchCriteria
org.apereo.inspektr.audit.support.MaxAgeWhereClauseMatchCriteria
- All Implemented Interfaces:
WhereClauseMatchCriteria
Produces a where clause to select audit records older than some arbitrary
cutoff age in days.
- Since:
- 1.0
-
Constructor Summary
ConstructorsConstructorDescriptionMaxAgeWhereClauseMatchCriteria(int maxAgeDays) Creates a new instance that selects audit records older than the given number of days as measured from the present time. -
Method Summary
Methods inherited from class org.apereo.inspektr.audit.support.AbstractWhereClauseMatchCriteria
toString
-
Constructor Details
-
MaxAgeWhereClauseMatchCriteria
public MaxAgeWhereClauseMatchCriteria(int maxAgeDays) Creates a new instance that selects audit records older than the given number of days as measured from the present time.- Parameters:
maxAgeDays- Cutoff age of records in days.
-
-
Method Details
-
getParameterValues
Description copied from interface:WhereClauseMatchCriteriaGets parameter values.- Specified by:
getParameterValuesin interfaceWhereClauseMatchCriteria- Overrides:
getParameterValuesin classAbstractWhereClauseMatchCriteria- Returns:
- Immutable list of parameter values for a parameterized query or an empty list if the where clause is not parameterized.
-