This project has retired. For details please refer to its Attic page.
MostRecentRepositoryScanStatistics

org.apache.maven.archiva.database.constraints
Class MostRecentRepositoryScanStatistics

Package class diagram package MostRecentRepositoryScanStatistics
java.lang.Object
  extended by org.apache.maven.archiva.database.constraints.AbstractSimpleConstraint
      extended by org.apache.maven.archiva.database.constraints.MostRecentRepositoryScanStatistics
All Implemented Interfaces:
Constraint, SimpleConstraint

public class MostRecentRepositoryScanStatistics
extends AbstractSimpleConstraint

MostRecentRepositoryScanStatistics


Field Summary
 
Fields inherited from class org.apache.maven.archiva.database.constraints.AbstractSimpleConstraint
params
 
Fields inherited from interface org.apache.maven.archiva.database.Constraint
ASCENDING, DESCENDING
 
Constructor Summary
MostRecentRepositoryScanStatistics(java.lang.String repoId)
           
 
Method Summary
 java.lang.Class<?> getResultClass()
          For simple Constraints the results class must be specified.
 java.lang.String getSelectSql()
          Get the SELECT query value for the constraint.
 
Methods inherited from class org.apache.maven.archiva.database.constraints.AbstractSimpleConstraint
getCountSql, getFetchLimits, getParameters, isResultsPersistable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MostRecentRepositoryScanStatistics

public MostRecentRepositoryScanStatistics(java.lang.String repoId)
Method Detail

getResultClass

public java.lang.Class<?> getResultClass()
Description copied from interface: SimpleConstraint
For simple Constraints the results class must be specified.

Returns:
the result class.

getSelectSql

public java.lang.String getSelectSql()
Description copied from interface: SimpleConstraint
Get the SELECT query value for the constraint.

Returns:
the SELECT value for this constraint. (can be null)