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, 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
- if anypublic Date getEndDate() throws ScmException
ScmException
public void setEndDate(Date endDate) throws ScmException
endDate
- the end date of the periodScmException
- if anypublic 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
- if anypublic ScmVersion getStartRevision() throws ScmException
ScmException
public void setStartRevision(ScmVersion startRevision) throws ScmException
startRevision
- the start branch/tag/revisionScmException
- if anypublic ScmVersion getEndRevision() throws ScmException
ScmException
public void setEndRevision(ScmVersion endRevision) throws ScmException
endRevision
- the end branch/tag/revisionScmException
- if anypublic String getDatePattern() throws ScmException
ScmException
public void setDatePattern(String datePattern) throws ScmException
datePattern
- the date pattern used in changelog output returned by scm toolScmException
- if anypublic Integer getLimit() throws ScmException
ScmException
public void setLimit(Integer limit) throws ScmException
limit
- the maximal count of returned changesetsScmException
- if anypublic void setDateRange(Date startDate, Date endDate) throws ScmException
ScmException
public void setRevision(ScmVersion revision) throws ScmException
ScmException
public ScmVersion getRevision() throws ScmException
ScmException
Copyright © 2003–2024 The Apache Software Foundation. All rights reserved.