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