Class ChangeLogScmRequest
- java.lang.Object
-
- org.apache.maven.scm.ScmRequest
-
- org.apache.maven.scm.command.changelog.ChangeLogScmRequest
-
- All Implemented Interfaces:
Serializable
public class ChangeLogScmRequest extends ScmRequest
- Since:
- 1.8
- Author:
- Petr Kozelka
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.apache.maven.scm.ScmRequest
parameters
-
-
Constructor Summary
Constructors Constructor Description ChangeLogScmRequest(ScmRepository scmRepository, ScmFileSet scmFileSet)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
Methods inherited from class org.apache.maven.scm.ScmRequest
getCommandParameters, getScmFileSet, getScmRepository, setScmFileSet, setScmRepository
-
-
-
-
Constructor Detail
-
ChangeLogScmRequest
public ChangeLogScmRequest(ScmRepository scmRepository, ScmFileSet scmFileSet)
-
-
Method Detail
-
getScmBranch
public ScmBranch getScmBranch() throws ScmException
- Throws:
ScmException
-
setScmBranch
public void setScmBranch(ScmBranch scmBranch) throws ScmException
- Throws:
ScmException
-
getStartDate
public Date getStartDate() throws ScmException
- Throws:
ScmException
-
setStartDate
public void setStartDate(Date startDate) throws ScmException
- Parameters:
startDate
- the start date of the period- Throws:
ScmException
- if any
-
getEndDate
public Date getEndDate() throws ScmException
- Throws:
ScmException
-
setEndDate
public void setEndDate(Date endDate) throws ScmException
- Parameters:
endDate
- the end date of the period- Throws:
ScmException
- if any
-
getNumDays
public int getNumDays() throws ScmException
- Throws:
ScmException
-
setNumDays
public void setNumDays(int numDays) throws ScmException
- Parameters:
numDays
- the number days before the current time if startdate and enddate are null- Throws:
ScmException
- if any
-
getStartRevision
public ScmVersion getStartRevision() throws ScmException
- Throws:
ScmException
-
setStartRevision
public void setStartRevision(ScmVersion startRevision) throws ScmException
- Parameters:
startRevision
- the start branch/tag/revision- Throws:
ScmException
- if any
-
getEndRevision
public ScmVersion getEndRevision() throws ScmException
- Throws:
ScmException
-
setEndRevision
public void setEndRevision(ScmVersion endRevision) throws ScmException
- Parameters:
endRevision
- the end branch/tag/revision- Throws:
ScmException
- if any
-
getDatePattern
public String getDatePattern() throws ScmException
- Throws:
ScmException
-
setDatePattern
public void setDatePattern(String datePattern) throws ScmException
- Parameters:
datePattern
- the date pattern used in changelog output returned by scm tool- Throws:
ScmException
- if any
-
getLimit
public Integer getLimit() throws ScmException
- Throws:
ScmException
-
setLimit
public void setLimit(Integer limit) throws ScmException
- Parameters:
limit
- the maximal count of returned changesets- Throws:
ScmException
- if any
-
setDateRange
public void setDateRange(Date startDate, Date endDate) throws ScmException
- Throws:
ScmException
-
setRevision
public void setRevision(ScmVersion revision) throws ScmException
- Throws:
ScmException
-
getRevision
public ScmVersion getRevision() throws ScmException
- Throws:
ScmException
-
-