com.ibm.team.fvt.tests.clm.pages.dialogs.rm
Class RmCopyArtifactDialog

java.lang.Object
  extended by com.ibm.team.fvt.tests.web.WebPageElement
      extended by com.ibm.team.fvt.tests.web.WebElementWrapper
          extended by com.ibm.team.fvt.tests.web.WebWindow
              extended by com.ibm.team.fvt.tests.web.WebDialog
                  extended by com.ibm.team.fvt.tests.clm.pages.dialogs.ClmWebPageDialog
                      extended by com.ibm.team.fvt.tests.clm.pages.dialogs.ClmWebPageDefaultDialog
                          extended by com.ibm.team.fvt.tests.clm.pages.dialogs.rm.RmCopyArtifactDialog

public class RmCopyArtifactDialog
extends ClmWebPageDefaultDialog

Dialog used to copy an artifact.


Constructor Summary
RmCopyArtifactDialog(ClmWebPage page, java.lang.String destinationFolderPath)
          Constructs a new dialog.
 
Method Summary
 void copyArtifact(java.lang.String newName)
          Copies the artifact to the specified new name to a destination folder if one was specified when initializing the dialog.
 
Methods inherited from class com.ibm.team.fvt.tests.web.WebDialog
open
 
Methods inherited from class com.ibm.team.fvt.tests.web.WebWindow
cancel, close
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RmCopyArtifactDialog

public RmCopyArtifactDialog(ClmWebPage page,
                            java.lang.String destinationFolderPath)
Constructs a new dialog.

Parameters:
page - The CLM web page from which the element is found.
destinationFolderPath - The fully-qualified folder path to which to copy the artifact, can be null. If no value is specified, then the artifact will be copied to the same folder in which it resides.
Method Detail

copyArtifact

public void copyArtifact(java.lang.String newName)
Copies the artifact to the specified new name to a destination folder if one was specified when initializing the dialog. If the destination folder is null, then the artifact is copied to the same folder in which it resides. If new name is null, then the new name is defaulted to some value.

Parameters:
newName - The new name of the copied artifact, can be null. If no value is specified, the newName field is populated with a default value.