hudson.plugins.clearcase.ucm
Class FreezeCodeUcmHistoryAction

java.lang.Object
  extended by hudson.plugins.clearcase.history.AbstractHistoryAction
      extended by hudson.plugins.clearcase.ucm.UcmHistoryAction
          extended by hudson.plugins.clearcase.ucm.FreezeCodeUcmHistoryAction
All Implemented Interfaces:
HistoryAction

public class FreezeCodeUcmHistoryAction
extends UcmHistoryAction


Field Summary
 
Fields inherited from class hudson.plugins.clearcase.history.AbstractHistoryAction
cleartool, extendedViewPath, isDynamicView
 
Constructor Summary
FreezeCodeUcmHistoryAction(ClearTool cleartool, boolean useDynamicView, Filter filter, java.lang.String stream, java.lang.String viewDrive, hudson.model.AbstractBuild<?,?> build, ClearCaseUCMSCMRevisionState oldBaseline, ClearCaseUCMSCMRevisionState newBaseline)
           
 
Method Summary
 java.util.List<? extends hudson.scm.ChangeLogSet.Entry> getChanges(java.util.Date time, java.lang.String viewPath, java.lang.String viewName, java.lang.String[] branchNames, java.lang.String[] viewPaths)
          Returns if the repository has any changes since the specified time
 java.lang.String getStream()
           
 boolean hasChanges(java.util.Date time, java.lang.String viewPath, java.lang.String viewTag, java.lang.String[] branchNames, java.lang.String[] viewPaths)
          Returns if the repository has any changes since the specified time
 
Methods inherited from class hudson.plugins.clearcase.ucm.UcmHistoryAction
buildChangelog, getHistoryFormatHandler, parseEventLine, runLsHistory
 
Methods inherited from class hudson.plugins.clearcase.history.AbstractHistoryAction
filterEntries, getExtendedViewPath, parseLsHistory, setExtendedViewPath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FreezeCodeUcmHistoryAction

public FreezeCodeUcmHistoryAction(ClearTool cleartool,
                                  boolean useDynamicView,
                                  Filter filter,
                                  java.lang.String stream,
                                  java.lang.String viewDrive,
                                  hudson.model.AbstractBuild<?,?> build,
                                  ClearCaseUCMSCMRevisionState oldBaseline,
                                  ClearCaseUCMSCMRevisionState newBaseline)
Method Detail

getChanges

public java.util.List<? extends hudson.scm.ChangeLogSet.Entry> getChanges(java.util.Date time,
                                                                          java.lang.String viewPath,
                                                                          java.lang.String viewName,
                                                                          java.lang.String[] branchNames,
                                                                          java.lang.String[] viewPaths)
                                                                   throws java.io.IOException,
                                                                          java.lang.InterruptedException
Description copied from interface: HistoryAction
Returns if the repository has any changes since the specified time

Specified by:
getChanges in interface HistoryAction
Overrides:
getChanges in class AbstractHistoryAction
Parameters:
time - check for changes since this time
viewPath - The view path name (local path in the workspace)
viewName - The view tag (unique identifier on CC Server)
branchNames - the branch names
viewPaths - optional vob paths
Returns:
List of changes
Throws:
java.io.IOException
java.lang.InterruptedException

hasChanges

public boolean hasChanges(java.util.Date time,
                          java.lang.String viewPath,
                          java.lang.String viewTag,
                          java.lang.String[] branchNames,
                          java.lang.String[] viewPaths)
                   throws java.io.IOException,
                          java.lang.InterruptedException
Description copied from interface: HistoryAction
Returns if the repository has any changes since the specified time

Specified by:
hasChanges in interface HistoryAction
Overrides:
hasChanges in class AbstractHistoryAction
Parameters:
time - check for changes since this time
viewPath - The view path name (local path in the workspace)
viewTag - The view tag (unique identifier on CC Server)
branchNames - the branch names
viewPaths - optional vob paths
Returns:
true, if the ClearCase repository has changes; false, otherwise.
Throws:
java.io.IOException
java.lang.InterruptedException

getStream

public java.lang.String getStream()


Copyright © 2010. All Rights Reserved.