public class ReleaseDescriptorBuilder extends Object
ReleaseDescriptorBuilder class.
Modifier and Type | Class and Description |
---|---|
static class |
ReleaseDescriptorBuilder.BuilderReleaseDescriptor
Hides inner logic of the release descriptor
|
Constructor and Description |
---|
ReleaseDescriptorBuilder()
Constructor for ReleaseDescriptorBuilder.
|
public ReleaseDescriptorBuilder()
Constructor for ReleaseDescriptorBuilder.
public ReleaseDescriptorBuilder addCheckModificationExclude(String string)
addCheckModificationExclude.
string
- a String
objectReleaseDescriptorBuilder
objectpublic ReleaseDescriptorBuilder setActivateProfiles(List<String> profiles)
setActivateProfiles.
profiles
- a List
objectReleaseDescriptorBuilder
objectpublic ReleaseDescriptorBuilder setAddSchema(boolean addSchema)
setAddSchema.
addSchema
- a booleanReleaseDescriptorBuilder
objectpublic ReleaseDescriptorBuilder setAdditionalArguments(String additionalArguments)
setAdditionalArguments.
additionalArguments
- a String
objectReleaseDescriptorBuilder
objectpublic ReleaseDescriptorBuilder setAllowTimestampedSnapshots(boolean allowTimestampedSnapshots)
setAllowTimestampedSnapshots.
allowTimestampedSnapshots
- a booleanReleaseDescriptorBuilder
objectpublic ReleaseDescriptorBuilder setAutoVersionSubmodules(boolean autoVersionSubmodules)
setAutoVersionSubmodules.
autoVersionSubmodules
- a booleanReleaseDescriptorBuilder
objectpublic ReleaseDescriptorBuilder setBranchCreation(boolean branchCreation)
setBranchCreation.
branchCreation
- a booleanReleaseDescriptorBuilder
objectpublic ReleaseDescriptorBuilder setCheckModificationExcludes(List<String> checkModificationExcludes)
setCheckModificationExcludes.
checkModificationExcludes
- a List
objectReleaseDescriptorBuilder
objectpublic ReleaseDescriptorBuilder setCheckoutDirectory(String checkoutDirectory)
setCheckoutDirectory.
checkoutDirectory
- a String
objectReleaseDescriptorBuilder
objectpublic ReleaseDescriptorBuilder setCommitByProject(boolean commitByProject)
setCommitByProject.
commitByProject
- a booleanReleaseDescriptorBuilder
objectpublic ReleaseDescriptorBuilder setCompletedPhase(String completedPhase)
setCompletedPhase.
completedPhase
- a String
objectReleaseDescriptorBuilder
objectpublic ReleaseDescriptorBuilder setCompletionGoals(String completionGoals)
setCompletionGoals.
completionGoals
- a String
objectReleaseDescriptorBuilder
objectpublic ReleaseDescriptorBuilder setDefaultDevelopmentVersion(String defaultDevelopmentVersion)
setDefaultDevelopmentVersion.
defaultDevelopmentVersion
- a String
objectReleaseDescriptorBuilder
objectpublic ReleaseDescriptorBuilder setDefaultReleaseVersion(String defaultReleaseVersion)
setDefaultReleaseVersion.
defaultReleaseVersion
- a String
objectReleaseDescriptorBuilder
objectpublic ReleaseDescriptorBuilder setDescription(String description)
setDescription.
description
- a String
objectReleaseDescriptorBuilder
objectpublic ReleaseDescriptorBuilder setGenerateReleasePoms(boolean generateReleasePoms)
setGenerateReleasePoms.
generateReleasePoms
- a booleanReleaseDescriptorBuilder
objectpublic ReleaseDescriptorBuilder setInteractive(boolean interactive)
setInteractive.
interactive
- a booleanReleaseDescriptorBuilder
objectpublic ReleaseDescriptorBuilder setLineSeparator(String ls)
setLineSeparator.
ls
- a String
objectReleaseDescriptorBuilder
objectpublic ReleaseDescriptorBuilder setLocalCheckout(boolean localCheckout)
setLocalCheckout.
localCheckout
- a booleanReleaseDescriptorBuilder
objectpublic ReleaseDescriptorBuilder setModelEncoding(String modelEncoding)
setModelEncoding.
modelEncoding
- a String
objectReleaseDescriptorBuilder
objectpublic ReleaseDescriptorBuilder setName(String name)
setName.
name
- a String
objectReleaseDescriptorBuilder
objectpublic ReleaseDescriptorBuilder setPerformGoals(String performGoals)
setPerformGoals.
performGoals
- a String
objectReleaseDescriptorBuilder
objectpublic ReleaseDescriptorBuilder setPomFileName(String pomFileName)
setPomFileName.
pomFileName
- a String
objectReleaseDescriptorBuilder
objectpublic ReleaseDescriptorBuilder setPreparationGoals(String preparationGoals)
setPreparationGoals.
preparationGoals
- a String
objectReleaseDescriptorBuilder
objectpublic ReleaseDescriptorBuilder setProjectNamingPolicyId(String projectNamingPolicyId)
setProjectNamingPolicyId.
projectNamingPolicyId
- a String
objectReleaseDescriptorBuilder
objectpublic ReleaseDescriptorBuilder setProjectVersionPolicyId(String projectVersionPolicyId)
setProjectVersionPolicyId.
projectVersionPolicyId
- a String
objectReleaseDescriptorBuilder
objectpublic ReleaseDescriptorBuilder setPushChanges(boolean pushChanges)
setPushChanges.
pushChanges
- a booleanReleaseDescriptorBuilder
objectpublic ReleaseDescriptorBuilder setWorkItem(String workItem)
setWorkItem.
workItem
- a String
objectReleaseDescriptorBuilder
objectpublic ReleaseDescriptorBuilder setReleaseStrategyId(String releaseStrategyId)
setReleaseStrategyId.
releaseStrategyId
- a String
objectReleaseDescriptorBuilder
objectpublic ReleaseDescriptorBuilder setRemoteTagging(boolean remoteTagging)
setRemoteTagging.
remoteTagging
- a booleanReleaseDescriptorBuilder
objectpublic ReleaseDescriptorBuilder setScmBranchBase(String scmBranchBase)
setScmBranchBase.
scmBranchBase
- a String
objectReleaseDescriptorBuilder
objectpublic ReleaseDescriptorBuilder setScmCommentPrefix(String scmCommentPrefix)
setScmCommentPrefix.
scmCommentPrefix
- a String
objectReleaseDescriptorBuilder
objectpublic ReleaseDescriptorBuilder setScmShallowClone(boolean scmShallowClone)
setScmShallowClone.
scmShallowClone
- a booleanReleaseDescriptorBuilder
objectpublic ReleaseDescriptorBuilder setScmReleaseCommitComment(String scmReleaseCommitComment)
setScmReleaseCommitComment.
scmReleaseCommitComment
- a String
objectReleaseDescriptorBuilder
objectpublic ReleaseDescriptorBuilder setScmDevelopmentCommitComment(String scmDevelopmentCommitComment)
setScmDevelopmentCommitComment.
scmDevelopmentCommitComment
- a String
objectReleaseDescriptorBuilder
objectpublic ReleaseDescriptorBuilder setScmBranchCommitComment(String scmBranchCommitComment)
setScmBranchCommitComment.
scmBranchCommitComment
- a String
objectReleaseDescriptorBuilder
objectpublic ReleaseDescriptorBuilder setScmRollbackCommitComment(String scmRollbackCommitComment)
setScmRollbackCommitComment.
scmRollbackCommitComment
- a String
objectReleaseDescriptorBuilder
objectpublic ReleaseDescriptorBuilder setScmId(String scmId)
setScmId.
scmId
- a String
objectReleaseDescriptorBuilder
objectpublic ReleaseDescriptorBuilder setScmPassword(String scmPassword)
setScmPassword.
scmPassword
- a String
objectReleaseDescriptorBuilder
objectpublic ReleaseDescriptorBuilder setScmPrivateKey(String scmPrivateKey)
setScmPrivateKey.
scmPrivateKey
- a String
objectReleaseDescriptorBuilder
objectpublic ReleaseDescriptorBuilder setScmPrivateKeyPassPhrase(String scmPrivateKeyPassPhrase)
setScmPrivateKeyPassPhrase.
scmPrivateKeyPassPhrase
- a String
objectReleaseDescriptorBuilder
objectpublic ReleaseDescriptorBuilder setScmRelativePathProjectDirectory(String scmRelativePathProjectDirectory)
setScmRelativePathProjectDirectory.
scmRelativePathProjectDirectory
- a String
objectReleaseDescriptorBuilder
objectpublic ReleaseDescriptorBuilder setScmReleaseLabel(String scmReleaseLabel)
setScmReleaseLabel.
scmReleaseLabel
- a String
objectReleaseDescriptorBuilder
objectpublic ReleaseDescriptorBuilder setScmReleasedPomRevision(String scmReleasedPomRevision)
setScmReleasedPomRevision.
scmReleasedPomRevision
- a String
objectReleaseDescriptorBuilder
objectpublic ReleaseDescriptorBuilder setScmSourceUrl(String scmSourceUrl)
setScmSourceUrl.
scmSourceUrl
- a String
objectReleaseDescriptorBuilder
objectpublic ReleaseDescriptorBuilder setScmTagBase(String scmTagBase)
setScmTagBase.
scmTagBase
- a String
objectReleaseDescriptorBuilder
objectpublic ReleaseDescriptorBuilder setScmTagNameFormat(String scmTagNameFormat)
setScmTagNameFormat.
scmTagNameFormat
- a String
objectReleaseDescriptorBuilder
objectpublic ReleaseDescriptorBuilder setScmSignTags(boolean signTags)
setScmSignTags.
signTags
- a booleanReleaseDescriptorBuilder
objectpublic ReleaseDescriptorBuilder setScmUseEditMode(boolean scmUseEditMode)
setScmUseEditMode.
scmUseEditMode
- a booleanReleaseDescriptorBuilder
objectpublic ReleaseDescriptorBuilder setScmUsername(String scmUsername)
setScmUsername.
scmUsername
- a String
objectReleaseDescriptorBuilder
objectpublic ReleaseDescriptorBuilder setSnapshotReleasePluginAllowed(boolean snapshotReleasePluginAllowed)
setSnapshotReleasePluginAllowed.
snapshotReleasePluginAllowed
- a booleanReleaseDescriptorBuilder
objectpublic ReleaseDescriptorBuilder setSuppressCommitBeforeTagOrBranch(boolean suppressCommitBeforeTagOrBranch)
setSuppressCommitBeforeTagOrBranch.
suppressCommitBeforeTagOrBranch
- a booleanReleaseDescriptorBuilder
objectpublic ReleaseDescriptorBuilder setUpdateBranchVersions(boolean updateBranchVersions)
setUpdateBranchVersions.
updateBranchVersions
- a booleanReleaseDescriptorBuilder
objectpublic ReleaseDescriptorBuilder setUpdateDependencies(boolean updateDependencies)
setUpdateDependencies.
updateDependencies
- a booleanReleaseDescriptorBuilder
objectpublic ReleaseDescriptorBuilder setUpdateVersionsToSnapshot(boolean updateVersionsToSnapshot)
setUpdateVersionsToSnapshot.
updateVersionsToSnapshot
- a booleanReleaseDescriptorBuilder
objectpublic ReleaseDescriptorBuilder setUpdateWorkingCopyVersions(boolean updateWorkingCopyVersions)
setUpdateWorkingCopyVersions.
updateWorkingCopyVersions
- a booleanReleaseDescriptorBuilder
objectpublic ReleaseDescriptorBuilder setUseReleaseProfile(boolean useReleaseProfile)
setUseReleaseProfile.
useReleaseProfile
- a booleanReleaseDescriptorBuilder
objectpublic ReleaseDescriptorBuilder setWaitBeforeTagging(int waitBeforeTagging)
setWaitBeforeTagging.
waitBeforeTagging
- a intReleaseDescriptorBuilder
objectpublic ReleaseDescriptorBuilder setWorkingDirectory(String workingDirectory)
setWorkingDirectory.
workingDirectory
- a String
objectReleaseDescriptorBuilder
objectpublic ReleaseDescriptorBuilder addReleaseVersion(String key, String value)
addReleaseVersion.
key
- a String
objectvalue
- a String
objectReleaseDescriptorBuilder
objectpublic ReleaseDescriptorBuilder addDevelopmentVersion(String key, String value)
addDevelopmentVersion.
key
- a String
objectvalue
- a String
objectReleaseDescriptorBuilder
objectpublic ReleaseDescriptorBuilder addOriginalScmInfo(String key, org.apache.maven.model.Scm value)
addOriginalScmInfo.
key
- a String
objectvalue
- a Scm
objectReleaseDescriptorBuilder
objectpublic void putOriginalVersion(String projectKey, String version)
putOriginalVersion.
public ReleaseDescriptorBuilder addDependencyOriginalVersion(String dependencyKey, String version)
addDependencyOriginalVersion.
dependencyKey
- a String
objectversion
- a String
objectReleaseDescriptorBuilder
objectpublic ReleaseDescriptorBuilder addDependencyReleaseVersion(String dependencyKey, String version)
addDependencyReleaseVersion.
dependencyKey
- a String
objectversion
- a String
objectReleaseDescriptorBuilder
objectpublic ReleaseDescriptorBuilder addDependencyDevelopmentVersion(String dependencyKey, String version)
addDependencyDevelopmentVersion.
dependencyKey
- a String
objectversion
- a String
objectReleaseDescriptorBuilder
objectpublic ReleaseDescriptorBuilder setAutoResolveSnapshots(String autoResolveSnapshots)
setAutoResolveSnapshots.
autoResolveSnapshots
- a String
objectReleaseDescriptorBuilder
objectpublic ReleaseDescriptorBuilder setPinExternals(boolean pinExternals)
setPinExternals.
pinExternals
- a booleanReleaseDescriptorBuilder
objectpublic ReleaseDescriptorBuilder.BuilderReleaseDescriptor build()
Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.