com.atlassian.confluence.pageobjects.component.dialog
Class ViewDraftDiffDialog

java.lang.Object
  extended by com.atlassian.confluence.pageobjects.component.ConfluenceAbstractPageComponent
      extended by com.atlassian.confluence.pageobjects.component.dialog.AbstractDialog
          extended by com.atlassian.confluence.pageobjects.component.dialog.ViewDraftDiffDialog
All Implemented Interfaces:
PageComponent

public class ViewDraftDiffDialog
extends AbstractDialog

The dialog showing the unpublished changes from the draft.


Field Summary
protected  com.atlassian.pageobjects.elements.timeout.Timeouts timeouts
           
 
Fields inherited from class com.atlassian.confluence.pageobjects.component.dialog.AbstractDialog
id
 
Fields inherited from class com.atlassian.confluence.pageobjects.component.ConfluenceAbstractPageComponent
driver, frameExecutor, pageBinder, pageElementFinder, waiter
 
Constructor Summary
ViewDraftDiffDialog()
           
 
Method Summary
 void close()
           
 java.lang.String getAddedSpan(int index)
           
 java.lang.String getDeletedSpan(int index)
           
 java.lang.String getDiffViewAsText()
           
 com.atlassian.pageobjects.elements.query.TimedQuery<java.lang.Boolean> hasDiscardButton()
           
 com.atlassian.pageobjects.elements.query.TimedQuery<java.lang.Boolean> hasResumeButton()
           
 void ready()
           
 EditorPage resumeDraft()
           
 
Methods inherited from class com.atlassian.confluence.pageobjects.component.dialog.AbstractDialog
getId, isVisible, pressEscape, pressEscapeOnly, waitForRemoval, waitUntilHidden, waitUntilVisible
 
Methods inherited from class com.atlassian.confluence.pageobjects.component.ConfluenceAbstractPageComponent
getComponent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

timeouts

@Inject
protected com.atlassian.pageobjects.elements.timeout.Timeouts timeouts
Constructor Detail

ViewDraftDiffDialog

public ViewDraftDiffDialog()
Method Detail

ready

public final void ready()

getDiffViewAsText

public java.lang.String getDiffViewAsText()

resumeDraft

public EditorPage resumeDraft()

hasResumeButton

public com.atlassian.pageobjects.elements.query.TimedQuery<java.lang.Boolean> hasResumeButton()

hasDiscardButton

public com.atlassian.pageobjects.elements.query.TimedQuery<java.lang.Boolean> hasDiscardButton()

close

public void close()

getAddedSpan

public java.lang.String getAddedSpan(int index)

getDeletedSpan

public java.lang.String getDeletedSpan(int index)


Copyright © 2003-2013 Atlassian. All Rights Reserved.