Class AccuRevChangeLogCommand
java.lang.Object
org.apache.maven.scm.command.AbstractCommand
org.apache.maven.scm.provider.accurev.command.AbstractAccuRevCommand
org.apache.maven.scm.provider.accurev.command.changelog.AccuRevChangeLogCommand
- All Implemented Interfaces:
Command
TODO filter results based on project_path Find appropriate start and end transaction ids from parameters. Streams
must be the same. Diff on stream start to end - these are the upstream changes Hist on the stream start+1 to end
remove items from the upstream set if they appear in the history For workspaces diff doesn't work. So we would not
pickup any upstream changes, just the "keep" transactions which is not very useful. Hist on the workspace Then diff /
hist on the basis stream, skipping any transactions that are coming from the workspace.
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionchangelog
(ScmProviderRepository repo, ScmFileSet testFileSet, CommandParameters params) protected ScmResult
executeAccurevCommand
(AccuRevScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) private ChangeLogSet
getChangeLog
(Stream stream, List<FileDifference> streamDifferences, List<Transaction> streamHistory, List<Transaction> workspaceHistory, Date startDate, Date endDate) private Transaction
getDepotTransaction
(AccuRevScmProviderRepository repo, String stream, String tranSpec) Methods inherited from class org.apache.maven.scm.provider.accurev.command.AbstractAccuRevCommand
executeCommand, getScmFiles
Methods inherited from class org.apache.maven.scm.command.AbstractCommand
execute, getLogger, setLogger
-
Constructor Details
-
AccuRevChangeLogCommand
-
-
Method Details
-
executeAccurevCommand
protected ScmResult executeAccurevCommand(AccuRevScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException, AccuRevException - Specified by:
executeAccurevCommand
in classAbstractAccuRevCommand
- Throws:
ScmException
AccuRevException
-
getDepotTransaction
private Transaction getDepotTransaction(AccuRevScmProviderRepository repo, String stream, String tranSpec) throws AccuRevException - Throws:
AccuRevException
-
getChangeLog
private ChangeLogSet getChangeLog(Stream stream, List<FileDifference> streamDifferences, List<Transaction> streamHistory, List<Transaction> workspaceHistory, Date startDate, Date endDate) -
changelog
public ChangeLogScmResult changelog(ScmProviderRepository repo, ScmFileSet testFileSet, CommandParameters params) throws ScmException - Throws:
ScmException
-