Class AbstractJReleaserPlatformAwareModelOperation<S extends AbstractJReleaserPlatformAwareModelOperation<S>>

Direct Known Subclasses:
AbstractJReleaserDistributionModelOperation, JReleaserConfigOperation, JReleaserTemplateEvalOperation

public class AbstractJReleaserPlatformAwareModelOperation<S extends AbstractJReleaserPlatformAwareModelOperation<S>> extends AbstractJReleaserModelOperation<S>
Base class for JReleaser operations that are platform aware.
  • Constructor Details

    • AbstractJReleaserPlatformAwareModelOperation

      public AbstractJReleaserPlatformAwareModelOperation(String command)
  • Method Details

    • dryRun

      public S dryRun()
      Enables dry-run mode.
      Returns:
      this operation instance
    • selectCurrentPlatform

      public S selectCurrentPlatform()
      Limits artifact selection to the current platform.
      Returns:
      this operation instance
    • selectPlatform

      public S selectPlatform(String platform)
      Limits artifact selection to the given platform.
      Parameters:
      platform - the platform value
      Returns:
      this operation instance
    • rejectPlatform

      public S rejectPlatform(String platform)
      Excludes artifact selection from the given platform.
      Parameters:
      platform - the platform value
      Returns:
      this operation instance