Interface ManifestWriter

All Known Implementing Classes:
ManifestXmlWriter

public interface ManifestWriter
Writes a manifest file for inclusion in a Deployment Package (Dar file).
  • Method Details

    • getManifestFileName

      String getManifestFileName()
    • writeVersion

      ManifestWriter.ManifestCiWriter writeVersion(com.xebialabs.deployit.plugin.api.reflect.Type type, String version, String application)
      Writes the deployment package information to the manifest file.
      Parameters:
      type - The type of the deployment package
      version - The version of the application that this package comprises.
      application - The application name.
    • endManifest

      void endManifest()
      Finishes writing the manifest.
    • writeCi

      ManifestWriter.ManifestCiWriter writeCi(String name, com.xebialabs.deployit.plugin.api.reflect.Type type)
      Add a Deployable configuration item to the manifest.
      Parameters:
      name - the name of the CI
      type - the type of the CI
      Returns:
      A new ManifestWriter.ManifestCiWriter that can be used to write the properties to the manifest.
    • writeCi

      ManifestWriter.ManifestCiWriter writeCi(String name, com.xebialabs.deployit.plugin.api.reflect.Type type, String fileArtifact)
      Add a Deployable configuration item to the manifest.
      Parameters:
      name - the name of the CI
      type - the type of the CI
      fileArtifact - the file associated with the artifact
      Returns:
      A new ManifestWriter.ManifestCiWriter that can be used to write the properties to the manifest.