public class DocumentationManager extends Object implements IDocumentationManager
Constructor and Description |
---|
DocumentationManager() |
Modifier and Type | Method and Description |
---|---|
void |
generateDocumentation(String sourceRootPath,
boolean reGenerateImages,
Locale locale,
boolean insertStringHolders)
Generates documentation for one or more services and static directories specified in a documentationdefinition.xml file
|
void |
generateServiceDocumentation(String serviceId,
boolean reGenerateImages,
Locale locale,
boolean insertStringHolders)
Generates documentation for a given service.
|
void |
generateStaticDocumentation(String sourceRootPath,
Locale locale)
Generates documentation given a root directory.
|
public void generateDocumentation(String sourceRootPath, boolean reGenerateImages, Locale locale, boolean insertStringHolders) throws PortalException
IDocumentationManager
generateDocumentation
in interface IDocumentationManager
sourceRootPath
- the root path that should contain a documentationdefinition.xml filereGenerateImages
- true if during generation of documentation, autogeneration of service images should also be executed.locale
- the locale in which the documentation should be generated.insertStringHolders
- if true, will generate the string id of non-localized strings for ease of translationPortalException
public void generateStaticDocumentation(String sourceRootPath, Locale locale) throws PortalException
IDocumentationManager
generateStaticDocumentation
in interface IDocumentationManager
sourceRootPath
- the root directory generally ending with documentationfiles directory.locale
- the locale in which the documentation should be generated.PortalException
public void generateServiceDocumentation(String serviceId, boolean reGenerateImages, Locale locale, boolean insertStringHolders) throws PortalException
IDocumentationManager
generateServiceDocumentation
in interface IDocumentationManager
serviceId
- the identifier of the servicereGenerateImages
- true if during generation of documentation, autogeneration of images should also be executed.locale
- the locale in which the documentation should be generated.insertStringHolders
- if true, will generate the string id of non-localized strings for ease of translationPortalException
Lumisportal 9.0.0.160603 - Copyright © 2006–2016 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.