public final class ScmInfo extends Object
| Constructor and Description |
|---|
ScmInfo(org.apache.maven.scm.manager.ScmManager scmManager,
String connectionType,
String scmDateFormat,
File basedir,
ScmCredentials scmCrendentials,
String tagBase,
int queryRangeInDays,
String buildDatePattern,
ScmControl scmControl,
org.apache.maven.scm.ScmVersion remoteVersion)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
File |
getBasedir()
Returns the value for basedir.
|
String |
getBuildDatePattern()
Returns the date pattern to use to format the build and revision dates.
|
String |
getConnectionType()
Returns the value for connectionType.
|
int |
getQueryRangeInDays()
Returns the range of the query in days to fetch change log entries from the
SCM.
|
org.apache.maven.scm.ScmVersion |
getRemoteVersion()
Returns the branch or tag version on the remote server to compare against.
|
ScmControl |
getScmControl()
Returns the information to control the gathering of SCM meta data.
|
ScmCredentials |
getScmCrendentials()
Returns the authentication for the SCM server.
|
String |
getScmDateFormat()
Returns the value for scmDateFormat.
|
org.apache.maven.scm.manager.ScmManager |
getScmManager()
Returns the manager instance to access the SCM system.
|
String |
getTagBase()
Returns the url of tags base directory (used by svn protocol).
|
public ScmInfo(org.apache.maven.scm.manager.ScmManager scmManager,
String connectionType,
String scmDateFormat,
File basedir,
ScmCredentials scmCrendentials,
String tagBase,
int queryRangeInDays,
String buildDatePattern,
ScmControl scmControl,
org.apache.maven.scm.ScmVersion remoteVersion)
scmManager - the manager instance to access the SCM system.connectionType - the value for connectionType.scmDateFormat - the value for scmDateFormat.basedir - the value for basedir.scmCrendentials - the authentication for the SCM server.tagBase - the url of tags base directory (used by svn protocol).queryRangeInDays - the range of the query in days to fetch change log
entries from the SCM.buildDatePattern - the date pattern to use to format the build and
revision dates.scmControl - the information to control the gathering of SCM meta
data.remoteVersion - the branch or tag version on the remote server to
compare against.public org.apache.maven.scm.manager.ScmManager getScmManager()
public String getConnectionType()
Allows the user to choose which scm connection to use when connecting to the scm. Can either be "connection" or "developerConnection".
public String getScmDateFormat()
Used to specify the date format of the log entries that are retrieved from your SCM system.
public File getBasedir()
Input dir. Directory where the files under SCM control are located.
public ScmCredentials getScmCrendentials()
public String getTagBase()
public int getQueryRangeInDays()
public String getBuildDatePattern()
public ScmControl getScmControl()
public org.apache.maven.scm.ScmVersion getRemoteVersion()
null, the SCM status will be used to determine the
differences.Copyright © 2006-2014. All Rights Reserved.