Class ManifestXmlWriter
java.lang.Object
com.xebialabs.deployit.packager.writers.ManifestXmlWriter
- All Implemented Interfaces:
ManifestWriter
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.xebialabs.deployit.packager.ManifestWriter
ManifestWriter.ManifestCiWriter -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidFinishes writing the manifest.toString()Add aDeployableconfiguration item to the manifest.Add aDeployableconfiguration item to the manifest.writeVersion(com.xebialabs.deployit.plugin.api.reflect.Type type, String version, String application) Writes the deployment package information to the manifest file.
-
Constructor Details
-
ManifestXmlWriter
public ManifestXmlWriter()
-
-
Method Details
-
getManifestFileName
- Specified by:
getManifestFileNamein interfaceManifestWriter
-
writeVersion
public ManifestWriter.ManifestCiWriter writeVersion(com.xebialabs.deployit.plugin.api.reflect.Type type, String version, String application) Description copied from interface:ManifestWriterWrites the deployment package information to the manifest file.- Specified by:
writeVersionin interfaceManifestWriter- Parameters:
type- The type of the deployment packageversion- The version of the application that this package comprises.application- The application name.
-
endManifest
public void endManifest()Description copied from interface:ManifestWriterFinishes writing the manifest.- Specified by:
endManifestin interfaceManifestWriter
-
writeCi
public ManifestWriter.ManifestCiWriter writeCi(String name, com.xebialabs.deployit.plugin.api.reflect.Type type) Description copied from interface:ManifestWriterAdd aDeployableconfiguration item to the manifest.- Specified by:
writeCiin interfaceManifestWriter- Parameters:
name- the name of the CItype- the type of the CI- Returns:
- A new
ManifestWriter.ManifestCiWriterthat can be used to write the properties to the manifest.
-
writeCi
public ManifestWriter.ManifestCiWriter writeCi(String name, com.xebialabs.deployit.plugin.api.reflect.Type type, String fileArtifact) Description copied from interface:ManifestWriterAdd aDeployableconfiguration item to the manifest.- Specified by:
writeCiin interfaceManifestWriter- Parameters:
name- the name of the CItype- the type of the CIfileArtifact- the file associated with the artifact- Returns:
- A new
ManifestWriter.ManifestCiWriterthat can be used to write the properties to the manifest.
-
toString
-