Package com.xebialabs.deployit.packager
Interface ManifestWriter
-
- All Known Implementing Classes:
ManifestXmlWriter
public interface ManifestWriterWrites a manifest file for inclusion in a Deployment Package (Dar file).
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceManifestWriter.ManifestCiWriter
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidendManifest()Finishes writing the manifest.java.lang.StringgetManifestFileName()ManifestWriter.ManifestCiWriterwriteCi(java.lang.String name, com.xebialabs.deployit.plugin.api.reflect.Type type)Add aDeployableconfiguration item to the manifest.ManifestWriter.ManifestCiWriterwriteCi(java.lang.String name, com.xebialabs.deployit.plugin.api.reflect.Type type, java.lang.String fileArtifact)Add aDeployableconfiguration item to the manifest.ManifestWriter.ManifestCiWriterwriteVersion(com.xebialabs.deployit.plugin.api.reflect.Type type, java.lang.String version, java.lang.String application)Writes the deployment package information to the manifest file.
-
-
-
Method Detail
-
getManifestFileName
java.lang.String getManifestFileName()
-
writeVersion
ManifestWriter.ManifestCiWriter writeVersion(com.xebialabs.deployit.plugin.api.reflect.Type type, java.lang.String version, java.lang.String application)
Writes the deployment package information to the manifest file.- Parameters:
type- The type of the deployment packageversion- The version of the application that this package comprises.application- The application name.
-
endManifest
void endManifest()
Finishes writing the manifest.
-
writeCi
ManifestWriter.ManifestCiWriter writeCi(java.lang.String name, com.xebialabs.deployit.plugin.api.reflect.Type type)
Add aDeployableconfiguration item to the manifest.- 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
ManifestWriter.ManifestCiWriter writeCi(java.lang.String name, com.xebialabs.deployit.plugin.api.reflect.Type type, java.lang.String fileArtifact)
Add aDeployableconfiguration item to the manifest.- 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.
-
-