Class AbstractReleaserResource

java.lang.Object
fr.paris.lutece.plugins.releaser.business.AbstractReleaserResource
All Implemented Interfaces:
IReleaserResource
Direct Known Subclasses:
Component, Site

public abstract class AbstractReleaserResource extends Object implements IReleaserResource
AbstractReleaserResource
  • Constructor Details

    • AbstractReleaserResource

      public AbstractReleaserResource()
  • Method Details

    • getPomParentGroupId

      public String getPomParentGroupId()
      Returns the groupId of the parent POM declared on the branch.
      Returns:
      the parent groupId, null when unknown
    • setPomParentGroupId

      public void setPomParentGroupId(String strPomParentGroupId)
      Sets the groupId of the parent POM declared on the branch.
      Parameters:
      strPomParentGroupId - the parent groupId
    • getPomParentArtifactId

      public String getPomParentArtifactId()
      Returns the artifactId of the parent POM declared on the branch.
      Returns:
      the parent artifactId, null when unknown
    • setPomParentArtifactId

      public void setPomParentArtifactId(String strPomParentArtifactId)
      Sets the artifactId of the parent POM declared on the branch.
      Parameters:
      strPomParentArtifactId - the parent artifactId
    • getPomParentVersion

      public String getPomParentVersion()
      Returns the version of the parent POM declared on the branch.
      Returns:
      the parent version, null when unknown
    • setPomParentVersion

      public void setPomParentVersion(String strPomParentVersion)
      Sets the version of the parent POM declared on the branch.
      Parameters:
      strPomParentVersion - the parent version
    • getLatestPomParentVersion

      public String getLatestPomParentVersion()
      Returns the last version of the parent POM, when newer than the declared one.
      Returns:
      the proposed parent version, null when the declared one is up to date or unknown
    • setLatestPomParentVersion

      public void setLatestPomParentVersion(String strLatestPomParentVersion)
      Sets the last version of the parent POM.
      Parameters:
      strLatestPomParentVersion - the proposed parent version
    • getTargetPomParentVersion

      public String getTargetPomParentVersion()
      Returns the parent POM version chosen for the release.
      Returns:
      the chosen version, null to keep the declared one
    • setTargetPomParentVersion

      public void setTargetPomParentVersion(String strTargetPomParentVersion)
      Sets the parent POM version chosen for the release.
      Parameters:
      strTargetPomParentVersion - the chosen version, null to keep the declared one
    • getRepoType

      public RepositoryType getRepoType()
      Specified by:
      getRepoType in interface IReleaserResource
      Returns:
      repo type
    • getReleaseComments

      public List<String> getReleaseComments()
      Returns the release comments list
      Returns:
      The release comments
    • getReleaseComment

      public String getReleaseComment()
      Returns the ReleaseComment
      Returns:
      The ReleaseComment
    • addReleaseComment

      public void addReleaseComment(String strReleaseComment)
      Sets the ReleaseComment
      Parameters:
      strReleaseComment - The ReleaseComment
    • resetComments

      public void resetComments()
      Reset comments. The blocking comment, if any, is kept.
    • setBlockingReleaseComment

      public void setBlockingReleaseComment(String strComment)
      Sets the blocking release comment and adds it to the displayed comments.
      Parameters:
      strComment - the blocking comment
    • getBlockingReleaseComment

      public String getBlockingReleaseComment()
      Returns the blocking release comment.
      Returns:
      the blocking comment, or null if none