public class SCMManipulator extends Object
Constructor and Description |
---|
SCMManipulator(org.apache.maven.scm.manager.ScmManager _scmManager) |
Modifier and Type | Method and Description |
---|---|
List<File> |
addFile(File scmRoot,
String filePathRelativeToScmRoot) |
boolean |
checkinFiles(File scmRoot,
String commitMessage) |
boolean |
checkout(File checkoutDirectory) |
List<File> |
deleteHierarchy(File hierarchyToDelete) |
String |
getScmSpecificFilename() |
boolean |
scmConfigurationSettledUp(ScmContext scmContext,
boolean resetScmRepository)
Will check if everything is settled up (useful before a scm manipulation)
|
org.apache.maven.scm.command.update.UpdateScmResult |
update(File root) |
public SCMManipulator(org.apache.maven.scm.manager.ScmManager _scmManager)
public boolean scmConfigurationSettledUp(ScmContext scmContext, boolean resetScmRepository)
scmContext
- resetScmRepository
- public org.apache.maven.scm.command.update.UpdateScmResult update(File root) throws org.apache.maven.scm.ScmException
org.apache.maven.scm.ScmException
public boolean checkout(File checkoutDirectory)
public String getScmSpecificFilename()
Copyright © 2004-2016. All Rights Reserved.