public class ScmRequest extends Object implements Serializable
ScmResult
, this is mutable, as its use requires more flexibility when configuring the call.
Most parameters should be stored in parameters
field, as it makes them easy to
pass down to the implementation side.
Methods in descendant classes should perform all neccessary (un)marshalling so that user can work with nice semantic typesafe properties.
Modifier and Type | Field and Description |
---|---|
protected CommandParameters |
parameters |
Constructor and Description |
---|
ScmRequest() |
ScmRequest(ScmRepository scmRepository,
ScmFileSet scmFileSet) |
Modifier and Type | Method and Description |
---|---|
CommandParameters |
getCommandParameters()
Holds all parameter values passed to the implementing part.
|
ScmFileSet |
getScmFileSet() |
ScmRepository |
getScmRepository() |
void |
setScmFileSet(ScmFileSet scmFileSet)
The files being processed.
|
void |
setScmRepository(ScmRepository scmRepository) |
protected final CommandParameters parameters
public ScmRequest()
public ScmRequest(ScmRepository scmRepository, ScmFileSet scmFileSet)
public ScmRepository getScmRepository()
public void setScmRepository(ScmRepository scmRepository)
scmRepository
- the source control systempublic ScmFileSet getScmFileSet()
public void setScmFileSet(ScmFileSet scmFileSet)
ScmFileSet.getBasedir()
downwards.scmFileSet
- working copy and its selected filespublic CommandParameters getCommandParameters()
Copyright © 2003–2024 The Apache Software Foundation. All rights reserved.