Class VersionPolicyRequest
java.lang.Object
org.apache.maven.shared.release.policy.version.VersionPolicyRequest
VersionPolicyRequest class.
- Since:
- 2.5.1 (MRELEASE-431)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGetter for the fieldconfig
.org.apache.maven.artifact.repository.metadata.Metadata
Getter for the fieldmetaData
.org.apache.maven.scm.provider.ScmProvider
Getter for the fieldscmProvider
.org.apache.maven.scm.repository.ScmRepository
Getter for the fieldscmRepository
.Getter for the fieldversion
.Getter for the fieldworkingDirectory
.Setter for the fieldconfig
.setMetaData
(org.apache.maven.artifact.repository.metadata.Metadata metaData) Setter for the fieldmetaData
.setScmProvider
(org.apache.maven.scm.provider.ScmProvider scmProvider) Setter for the fieldscmProvider
.setScmRepository
(org.apache.maven.scm.repository.ScmRepository scmRepository) Setter for the fieldscmRepository
.setVersion
(String version) Setter for the fieldversion
.setWorkingDirectory
(String workingDirectory) Setter for the fieldworkingDirectory
.
-
Constructor Details
-
VersionPolicyRequest
public VersionPolicyRequest()
-
-
Method Details
-
getVersion
Getter for the field
version
.- Returns:
- a
String
object
-
setVersion
Setter for the field
version
.- Parameters:
version
- aString
object- Returns:
- a
VersionPolicyRequest
object
-
getMetaData
public org.apache.maven.artifact.repository.metadata.Metadata getMetaData()Getter for the field
metaData
.- Returns:
- a
Metadata
object
-
setMetaData
public VersionPolicyRequest setMetaData(org.apache.maven.artifact.repository.metadata.Metadata metaData) Setter for the field
metaData
.- Parameters:
metaData
- aMetadata
object- Returns:
- a
VersionPolicyRequest
object
-
getScmRepository
public org.apache.maven.scm.repository.ScmRepository getScmRepository()Getter for the field
scmRepository
.- Returns:
- a
ScmRepository
object
-
setScmRepository
public VersionPolicyRequest setScmRepository(org.apache.maven.scm.repository.ScmRepository scmRepository) Setter for the field
scmRepository
.- Parameters:
scmRepository
- TheScmRepository
where the history can be retrieved.- Returns:
- a
VersionPolicyRequest
object
-
getScmProvider
public org.apache.maven.scm.provider.ScmProvider getScmProvider()Getter for the field
scmProvider
.- Returns:
- a
ScmProvider
object
-
setScmProvider
Setter for the field
scmProvider
.- Parameters:
scmProvider
- TheScmProvider
where the history can be retrieved.- Returns:
- a
VersionPolicyRequest
object
-
getWorkingDirectory
Getter for the field
workingDirectory
.- Returns:
- the
String
that contains the workingDirectory (can be null or empty).
-
setWorkingDirectory
Setter for the field
workingDirectory
.- Parameters:
workingDirectory
- TheString
that contains the workingDirectory (can be null or empty).- Returns:
- a
VersionPolicyRequest
object
-
getConfig
Getter for the field
config
.- Returns:
- the
String
that contains the config (can be null or empty).
-
setConfig
Setter for the field
config
.- Parameters:
config
- TheString
that contains the config (can be null or empty).- Returns:
- a
VersionPolicyRequest
object
-