Package rife.bld.extension
Class AbstractJReleaserPlatformAwareModelOperation<S extends AbstractJReleaserPlatformAwareModelOperation<S>>
java.lang.Object
rife.bld.operations.AbstractOperation<T>
rife.bld.operations.AbstractProcessOperation<S>
rife.bld.extension.AbstractJReleaserOperation<S>
rife.bld.extension.AbstractJReleaserModelOperation<S>
rife.bld.extension.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.
-
Field Summary
Fields inherited from class rife.bld.extension.AbstractJReleaserOperation
EMPTY
Fields inherited from class rife.bld.operations.AbstractProcessOperation
classpath_, DEFAULT_JAVA_TOOL, environment_, errorProcessor_, errorProcessorThread_, javaOptions_, javaTool_, mainClass_, module_, modulePath_, outputProcessor_, outputProcessorThread_, process_, successful_, workDirectory_
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondryRun()
Enables dry-run mode.rejectPlatform
(String platform) Excludes artifact selection from the given platform.Limits artifact selection to the current platform.selectPlatform
(String platform) Limits artifact selection to the given platform.Methods inherited from class rife.bld.extension.AbstractJReleaserModelOperation
configFile, configFile, configFile, gitRootSearch, projectProperty, strict
Methods inherited from class rife.bld.extension.AbstractJReleaserOperation
basedir, basedir, basedir, debug, execute, executeConstructProcessCommandList, fromProject, getCommand, getProject, help, info, outputDirectory, outputDirectory, outputDirectory, self, setOption, setOption, systemProperty, version, warn
Methods inherited from class rife.bld.operations.AbstractProcessOperation
classpath, classpath, classpath, environment, environment, environment, errorProcessor, errorProcessor, executeStartProcess, javaOptions, javaOptions, javaTool, javaTool, mainClass, mainClass, module, module, modulePath, modulePath, modulePath, outputProcessor, outputProcessor, process, workDirectory, workDirectory
Methods inherited from class rife.bld.operations.AbstractOperation
executeOnce, executeOnce, silent, silent
-
Constructor Details
-
AbstractJReleaserPlatformAwareModelOperation
-
-
Method Details
-
dryRun
Enables dry-run mode.- Returns:
- this operation instance
-
selectCurrentPlatform
Limits artifact selection to the current platform.- Returns:
- this operation instance
-
selectPlatform
Limits artifact selection to the given platform.- Parameters:
platform
- the platform value- Returns:
- this operation instance
-
rejectPlatform
Excludes artifact selection from the given platform.- Parameters:
platform
- the platform value- Returns:
- this operation instance
-