Class ChangeLogScmRequest
- java.lang.Object
-
- org.apache.maven.scm.ScmRequest
-
- org.apache.maven.scm.command.changelog.ChangeLogScmRequest
-
- All Implemented Interfaces:
java.io.Serializable
public class ChangeLogScmRequest extends ScmRequest
- Since:
- 1.8
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static longserialVersionUID-
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 java.lang.StringgetDatePattern()java.util.DategetEndDate()ScmVersiongetEndRevision()java.lang.IntegergetLimit()intgetNumDays()ScmVersiongetRevision()ScmBranchgetScmBranch()java.util.DategetStartDate()ScmVersiongetStartRevision()voidsetDatePattern(java.lang.String datePattern)voidsetDateRange(java.util.Date startDate, java.util.Date endDate)voidsetEndDate(java.util.Date endDate)voidsetEndRevision(ScmVersion endRevision)voidsetLimit(java.lang.Integer limit)voidsetNumDays(int numDays)voidsetRevision(ScmVersion revision)voidsetScmBranch(ScmBranch scmBranch)voidsetStartDate(java.util.Date startDate)voidsetStartRevision(ScmVersion startRevision)-
Methods inherited from class org.apache.maven.scm.ScmRequest
getCommandParameters, getScmFileSet, getScmRepository, setScmFileSet, setScmRepository
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
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 java.util.Date getStartDate() throws ScmException- Throws:
ScmException
-
setStartDate
public void setStartDate(java.util.Date startDate) throws ScmException- Parameters:
startDate- the start date of the period- Throws:
ScmException- if any
-
getEndDate
public java.util.Date getEndDate() throws ScmException- Throws:
ScmException
-
setEndDate
public void setEndDate(java.util.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 java.lang.String getDatePattern() throws ScmException- Throws:
ScmException
-
setDatePattern
public void setDatePattern(java.lang.String datePattern) throws ScmException- Parameters:
datePattern- the date pattern used in changelog output returned by scm tool- Throws:
ScmException- if any
-
getLimit
public java.lang.Integer getLimit() throws ScmException- Throws:
ScmException
-
setLimit
public void setLimit(java.lang.Integer limit) throws ScmException- Parameters:
limit- the maximal count of returned changesets- Throws:
ScmException- if any
-
setDateRange
public void setDateRange(java.util.Date startDate, java.util.Date endDate) throws ScmException- Throws:
ScmException
-
setRevision
public void setRevision(ScmVersion revision) throws ScmException
- Throws:
ScmException
-
getRevision
public ScmVersion getRevision() throws ScmException
- Throws:
ScmException
-
-