public Date getEndDate() throws ScmException { return parameters.getDate( CommandParameter.END_DATE ); }
public Date getStartDate() throws ScmException { return parameters.getDate( CommandParameter.START_DATE ); }
public Date getStartDate() throws ScmException { return parameters.getDate( CommandParameter.START_DATE ); }
public Date getEndDate() throws ScmException { return parameters.getDate( CommandParameter.END_DATE ); }
private String getStartRevision( AccuRevScmProviderRepository repository, CommandParameters parameters, AccuRevInfo info ) throws ScmException, AccuRevException { boolean runChangeLog = parameters.getBoolean( CommandParameter.RUN_CHANGELOG_WITH_UPDATE ); Date startDate = parameters.getDate( CommandParameter.START_DATE, null ); String workspace = info.getWorkSpace(); if ( !runChangeLog ) { return null; } else { return startDate == null ? repository.getWorkSpaceRevision( workspace ) : repository.getRevision( workspace, startDate ); } }
private String getStartRevision( AccuRevScmProviderRepository repository, CommandParameters parameters, AccuRevInfo info ) throws ScmException, AccuRevException { boolean runChangeLog = parameters.getBoolean( CommandParameter.RUN_CHANGELOG_WITH_UPDATE ); Date startDate = parameters.getDate( CommandParameter.START_DATE, null ); String workspace = info.getWorkSpace(); if ( !runChangeLog ) { return null; } else { return startDate == null ? repository.getWorkSpaceRevision( workspace ) : repository.getRevision( workspace, startDate ); } }
startDate = parameters.getDate( CommandParameter.START_DATE );
startDate = parameters.getDate( CommandParameter.START_DATE );