org.apache.maven.doxia.module.site.manager
Class DefaultSiteModuleManager
java.lang.Object
org.apache.maven.doxia.module.site.manager.DefaultSiteModuleManager
- All Implemented Interfaces:
- SiteModuleManager
public class DefaultSiteModuleManager
- extends Object
- implements SiteModuleManager
Simple implementation of the SiteModuleManager interface.
- Since:
- 1.0
- Version:
- $Id: DefaultSiteModuleManager.java 1090706 2011-04-09 23:15:28Z hboutemy $
- Author:
- Jason van Zyl
- Plexus component
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultSiteModuleManager
public DefaultSiteModuleManager()
getSiteModules
public Collection<SiteModule> getSiteModules()
- Returns a collection of SiteModules.
- Specified by:
getSiteModules
in interface SiteModuleManager
- Returns:
- The SiteModules.
getSiteModule
public SiteModule getSiteModule(String id)
throws SiteModuleNotFoundException
- Returns the SiteModule that corresponds to the given id.
- Specified by:
getSiteModule
in interface SiteModuleManager
- Parameters:
id
- The identifier.
- Returns:
- The corresponding SiteModule.
- Throws:
SiteModuleNotFoundException
- if no SiteModule could be found
for the given id.
Copyright © 2005-2012 The Apache Software Foundation. All Rights Reserved.