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() |
ScmVersion |
getRevision() |
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 |
setRevision(ScmVersion revision) |
void |
setScmBranch(ScmBranch scmBranch) |
void |
setStartDate(Date startDate) |
void |
setStartRevision(ScmVersion startRevision) |
getCommandParameters, getScmFileSet, getScmRepository, setScmFileSet, setScmRepositorypublic ChangeLogScmRequest(ScmRepository scmRepository, ScmFileSet scmFileSet)
public ScmBranch getScmBranch() throws ScmException
ScmExceptionpublic void setScmBranch(ScmBranch scmBranch) throws ScmException
ScmExceptionpublic Date getStartDate() throws ScmException
ScmExceptionpublic void setStartDate(Date startDate) throws ScmException
startDate - the start date of the periodScmException - if anypublic Date getEndDate() throws ScmException
ScmExceptionpublic void setEndDate(Date endDate) throws ScmException
endDate - the end date of the periodScmException - if anypublic int getNumDays() throws ScmException
ScmExceptionpublic void setNumDays(int numDays) throws ScmException
numDays - the number days before the current time if startdate and enddate are nullScmException - if anypublic ScmVersion getStartRevision() throws ScmException
ScmExceptionpublic void setStartRevision(ScmVersion startRevision) throws ScmException
startRevision - the start branch/tag/revisionScmException - if anypublic ScmVersion getEndRevision() throws ScmException
ScmExceptionpublic void setEndRevision(ScmVersion endRevision) throws ScmException
endRevision - the end branch/tag/revisionScmException - if anypublic String getDatePattern() throws ScmException
ScmExceptionpublic void setDatePattern(String datePattern) throws ScmException
datePattern - the date pattern used in changelog output returned by scm toolScmException - if anypublic Integer getLimit() throws ScmException
ScmExceptionpublic void setLimit(Integer limit) throws ScmException
limit - the maximal count of returned changesetsScmException - if anypublic void setDateRange(Date startDate, Date endDate) throws ScmException
ScmExceptionpublic void setRevision(ScmVersion revision) throws ScmException
ScmExceptionpublic ScmVersion getRevision() throws ScmException
ScmExceptionCopyright © 2003–2022 The Apache Software Foundation. All rights reserved.