public class ChangeLogScmRequest extends ScmRequest
parameters
Constructor and Description |
---|
ChangeLogScmRequest(ScmRepository scmRepository,
ScmFileSet scmFileSet) |
Modifier and Type | Method and Description |
---|---|
String |
getDatePattern() |
Date |
getEndDate() |
ScmVersion |
getEndRevision() |
Integer |
getLimit() |
int |
getNumDays() |
ScmBranch |
getScmBranch() |
Date |
getStartDate() |
ScmVersion |
getStartRevision() |
void |
setDatePattern(String datePattern) |
void |
setDateRange(Date startDate,
Date endDate) |
void |
setEndDate(Date endDate) |
void |
setEndRevision(ScmVersion endRevision) |
void |
setLimit(Integer limit) |
void |
setNumDays(int numDays) |
void |
setScmBranch(ScmBranch scmBranch) |
void |
setStartDate(Date startDate) |
void |
setStartRevision(ScmVersion startRevision) |
getCommandParameters, getScmFileSet, getScmRepository, setScmFileSet, setScmRepository
public ChangeLogScmRequest(ScmRepository scmRepository, ScmFileSet scmFileSet)
public ScmBranch getScmBranch() throws ScmException
ScmException
public void setScmBranch(ScmBranch scmBranch) throws ScmException
ScmException
public Date getStartDate() throws ScmException
ScmException
public void setStartDate(Date startDate) throws ScmException
startDate
- the start date of the periodScmException
public Date getEndDate() throws ScmException
ScmException
public void setEndDate(Date endDate) throws ScmException
endDate
- the end date of the periodScmException
public int getNumDays() throws ScmException
ScmException
public void setNumDays(int numDays) throws ScmException
numDays
- the number days before the current time if startdate and enddate are nullScmException
public ScmVersion getStartRevision() throws ScmException
ScmException
public void setStartRevision(ScmVersion startRevision) throws ScmException
startRevision
- the start branch/tag/revisionScmException
public ScmVersion getEndRevision() throws ScmException
ScmException
public void setEndRevision(ScmVersion endRevision) throws ScmException
endRevision
- the end branch/tag/revisionScmException
public String getDatePattern() throws ScmException
ScmException
public void setDatePattern(String datePattern) throws ScmException
datePattern
- the date pattern used in changelog output returned by scm toolScmException
public Integer getLimit() throws ScmException
ScmException
public void setLimit(Integer limit) throws ScmException
limit
- the maximal count of returned changesetsScmException
public void setDateRange(Date startDate, Date endDate) throws ScmException
ScmException
Copyright © 2003–2015 The Apache Software Foundation. All rights reserved.