public class ConfluenceContainerDocumentationGenerator extends Object
| Constructor and Description |
|---|
ConfluenceContainerDocumentationGenerator() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
computedFQCN(String className)
Create the short class name for a given class name.
|
protected Field |
findPropertySetField(String propertyValue,
Class propertySetClass)
Find the property set field name for a given value on a given class.
|
protected Field |
findPropertySetFieldName(String propertyValue)
Find the property set field for a given value.
|
protected String |
generateConfigurationFeaturesText(String containerId)
Generate documentation for the configuration features of a given container.
|
protected String |
generateConfigurationPropertiesForConfigurationTypeForContainerType(String typeAsName,
ConfigurationType type,
String containerId,
ContainerType containerType)
Generate documentation for the configuration properties of a given container.
|
protected String |
generateConfigurationPropertiesText(String containerId)
Generate documentation for the configuration properties of a given container.
|
protected String |
generateContainerFeaturesText(String containerId)
Generate documentation for the container features of a given container.
|
String |
generateDatasourceDocumentation()
Generate documentation for a datasources.
|
protected String |
generateDeployerFeaturesText(String containerId)
Generate documentation for the deployer features of a given container.
|
String |
generateDocumentation(String containerId)
Generate documentation for a given container.
|
protected String |
generateExistingConfigurationText(String containerId,
ContainerType type)
Generate documentation for the existing configuration of a given container.
|
protected String |
generateOtherFeaturesText(String containerId)
Generate documentation for other features of a given container.
|
protected String |
generateSamplesInfoText(String containerId)
Generate documentation for the Samples of a given container.
|
protected String |
generateStandaloneConfigurationText(String containerId,
ContainerType type)
Generate documentation for the standalone configuration of a given container.
|
String |
getContainerServerDownloadUrl(String containerId)
Returns the download URL used for testing the given container.
|
public ConfluenceContainerDocumentationGenerator()
public String generateDatasourceDocumentation() throws Exception
Exception - If anything goes wrong.public String generateDocumentation(String containerId) throws Exception
containerId - Container id.Exception - If anything goes wrong.protected String generateContainerFeaturesText(String containerId)
containerId - Container id.protected String generateStandaloneConfigurationText(String containerId, ContainerType type)
containerId - Container id.type - Container type.protected String generateExistingConfigurationText(String containerId, ContainerType type)
containerId - Container id.type - Container type.protected String generateConfigurationFeaturesText(String containerId)
containerId - Container id.protected String generateDeployerFeaturesText(String containerId)
containerId - Container id.protected String generateOtherFeaturesText(String containerId)
containerId - Container id.protected String generateConfigurationPropertiesText(String containerId) throws Exception
containerId - Container id.Exception - If anything goes wrong.protected String generateConfigurationPropertiesForConfigurationTypeForContainerType(String typeAsName, ConfigurationType type, String containerId, ContainerType containerType) throws Exception
typeAsName - Configuration type's "human" name.type - Configuration type.containerId - Container id.containerType - Container type.Exception - If anything goes wrong.protected String computedFQCN(String className)
className - Original class name.protected Field findPropertySetFieldName(String propertyValue) throws Exception
propertyValue - Property value name.Exception - If anything goes wrong.protected Field findPropertySetField(String propertyValue, Class propertySetClass) throws Exception
propertyValue - Property value name.propertySetClass - Class name.null if the given class does
not have such a value.Exception - If anything goes wrong.protected String generateSamplesInfoText(String containerId) throws Exception
containerId - Container id.Exception - If anything goes wrong.Copyright © 2004-2013 Codehaus. All Rights Reserved.