org.apache.maven.scm.command.changelog
Class ChangeLogScmRequest

java.lang.Object
  extended by org.apache.maven.scm.ScmRequest
      extended by 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
ChangeLogScmRequest(ScmRepository scmRepository, ScmFileSet scmFileSet)
           
 
Method Summary
 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)
           
 
Methods inherited from class org.apache.maven.scm.ScmRequest
getCommandParameters, getScmFileSet, getScmRepository, setScmFileSet, setScmRepository
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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

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

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

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

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

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

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

setDateRange

public void setDateRange(Date startDate,
                         Date endDate)
                  throws ScmException
Throws:
ScmException


Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.