org.apache.jackrabbit.core.version
Interface VersionSelector
- All Known Implementing Classes:
- GenericVersionSelector
- public interface VersionSelector
This Interface defines the version selector that needs to provide a version,
given some hints and a version history
select
public Version select(VersionHistory versionHistory)
throws RepositoryException
- Selects a version of the given version history. If this VersionSelector
is unable to select one, it can return
null
.
- Parameters:
versionHistory
-
- Returns:
- A version or
null
.
- Throws:
RepositoryException
- if an error occurrs.
Copyright © 2004-2006 The Apache Software Foundation. All Rights Reserved.