Class ManifestUpdateAction

java.lang.Object
org.jboss.pnc.gradlemanipulator.manipulation.actions.ManifestUpdateAction
All Implemented Interfaces:
org.gradle.api.Action<org.gradle.api.Project>

public class ManifestUpdateAction extends Object implements org.gradle.api.Action<org.gradle.api.Project>
Overrides specified Manifest entries.
  • Constructor Summary

    Constructors
    Constructor
    Description
    ManifestUpdateAction(org.jboss.pnc.gradlemanipulator.common.model.ManipulationModel alignmentModel)
    Creates a new manifest update action with the specified alignment model.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    execute(org.gradle.api.Project project)
    Used to override / supplement certain values within the final MANIFEST.MF file.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ManifestUpdateAction

      public ManifestUpdateAction(org.jboss.pnc.gradlemanipulator.common.model.ManipulationModel alignmentModel)
      Creates a new manifest update action with the specified alignment model.
      Parameters:
      alignmentModel - the alignment model
  • Method Details

    • execute

      public void execute(org.gradle.api.Project project)
      Used to override / supplement certain values within the final MANIFEST.MF file. We currently update / or add the following
      • Implementation-Version
      • Specification-Version
      • Bundle-Version
      • Build-Jdk
      Set if not present:
      • Implementation-Title
      • Specification-Title
      • Specification-Vendor
      • Implementation-Vendor
      • Implementation-Vendor-Id
      • Bundle-Name
      Specified by:
      execute in interface org.gradle.api.Action<org.gradle.api.Project>
      Parameters:
      project - the current Gradle project