Class DefaultStrategy

java.lang.Object
org.apache.maven.shared.release.strategies.DefaultStrategy
All Implemented Interfaces:
Strategy

public class DefaultStrategy extends Object implements Strategy
Since:
3.0.0
  • Field Details

    • preparePhases

      private List<String> preparePhases
      The phases of release to run, and in what order.
    • performPhases

      private List<String> performPhases
      The phases of release to run to perform.
    • rollbackPhases

      private List<String> rollbackPhases
      The phases of release to run to rollback changes
    • branchPhases

      private List<String> branchPhases
      The phases to create a branch.
    • updateVersionsPhases

      private List<String> updateVersionsPhases
      The phases to create update versions.
  • Constructor Details

    • DefaultStrategy

      public DefaultStrategy()
  • Method Details

    • getPreparePhases

      public List<String> getPreparePhases()
      Description copied from interface: Strategy
      The release phases to execute the calling the prepare goal
      Specified by:
      getPreparePhases in interface Strategy
      Returns:
    • setPreparePhases

      public void setPreparePhases(List<String> preparePhases)
    • getPerformPhases

      public List<String> getPerformPhases()
      Description copied from interface: Strategy
      The release phases to execute the calling the perform goal
      Specified by:
      getPerformPhases in interface Strategy
      Returns:
    • setPerformPhases

      public void setPerformPhases(List<String> performPhases)
    • getRollbackPhases

      public List<String> getRollbackPhases()
      Description copied from interface: Strategy
      The release phases to execute the calling the rollback goal
      Specified by:
      getRollbackPhases in interface Strategy
      Returns:
    • setRollbackPhases

      public void setRollbackPhases(List<String> rollbackPhases)
    • getBranchPhases

      public List<String> getBranchPhases()
      Description copied from interface: Strategy
      The release phases to execute the calling the branch goal
      Specified by:
      getBranchPhases in interface Strategy
      Returns:
    • setBranchPhases

      public void setBranchPhases(List<String> branchPhases)
    • getUpdateVersionsPhases

      public List<String> getUpdateVersionsPhases()
      Description copied from interface: Strategy
      The release phases to execute the calling the update-versions goal
      Specified by:
      getUpdateVersionsPhases in interface Strategy
      Returns:
    • setUpdateVersionsPhases

      public void setUpdateVersionsPhases(List<String> updateVersionsPhases)