|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.maven.plugin.buildmetadata.scm.maven.MavenScmRevisionNumberFetcher
public final class MavenScmRevisionNumberFetcher
Implementation on the Maven SCM implementation to fetch the latest revision number.
Constructor Summary | |
---|---|
MavenScmRevisionNumberFetcher(ScmManager scmManager, ScmConnectionInfo scmConnectionInfo, ScmAccessInfo scmAccessInfo) Default constructor. |
Method Summary | |
---|---|
LocallyModifiedInfo |
containsModifications(ScmFileSet fileSet) Checks if the local source files are in-sync with the repository or not. |
Revision |
fetchLatestRevisionNumber() Returns the latest revision number from the SCM. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MavenScmRevisionNumberFetcher(ScmManager scmManager, ScmConnectionInfo scmConnectionInfo, ScmAccessInfo scmAccessInfo)
scmManager
- the SCM manager to access to SCM system.
scmConnectionInfo
- the information to connect to the SCM system.
scmAccessInfo
- the value for scmAccessInfo.
Method Detail |
---|
public Revision fetchLatestRevisionNumber() throws ScmException
fetchLatestRevisionNumber
in interface
RevisionNumberFetcher
null
if none can be found.
ScmException
- if the revision number cannot be fetched.
RevisionNumberFetcher.fetchLatestRevisionNumber()
public LocallyModifiedInfo containsModifications(ScmFileSet fileSet) throws ScmException
containsModifications
in interface
RevisionNumberFetcher
fileSet
- the file set to check.
ScmException
- on any problem checking the up-to-date status.
RevisionNumberFetcher.containsModifications(org.apache.maven.scm.ScmFileSet)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |