Package org.apache.wiki.api.providers
Interface WikiProvider
- All Known Subinterfaces:
AttachmentProvider,DiffProvider,PageProvider,SearchProvider,WikiAttachmentProvider,WikiPageProvider,WikiProvider
- All Known Implementing Classes:
AbstractFileProvider,BasicAttachmentProvider,BasicSearchProvider,CachingAttachmentProvider,CachingProvider,ContextualDiffProvider,DiffProvider.NullDiffProvider,ExternalDiffProvider,FileSystemProvider,LuceneSearchProvider,TikaSearchProvider,TraditionalDiffProvider,VersioningFileProvider,WikiAttachmentAdapterProvider,WikiPageAdapterProvider
public interface WikiProvider
A generic Wiki provider for all sorts of things that the Wiki can store.
- Since:
- 2.0
-
Field Summary
Fields Modifier and Type Field Description static intLATEST_VERSIONPassing this to any method should get the latest version -
Method Summary
Modifier and Type Method Description StringgetProviderInfo()Return a valid HTML string for information.voidinitialize(Engine engine, Properties properties)Initializes the page provider.
-
Field Details
-
LATEST_VERSION
Passing this to any method should get the latest version- See Also:
- Constant Field Values
-
-
Method Details
-
initialize
void initialize(Engine engine, Properties properties) throws NoRequiredPropertyException, IOExceptionInitializes the page provider.- Parameters:
engine- Engine to own this providerproperties- A set of properties used to initialize this provider- Throws:
NoRequiredPropertyException- If the provider needs a property which is not found in the property setIOException- If there is an IO problem
-
getProviderInfo
Return a valid HTML string for information. May be anything.- Returns:
- A string describing the provider.
- Since:
- 1.6.4
-