com.atlassian.jira.pageobjects.elements
Class FormMessages

java.lang.Object
  extended by com.atlassian.jira.pageobjects.elements.FormMessages

public class FormMessages
extends Object

Represents a collection of AUI messages in a given context (form).

Since:
v5.2
See Also:
AuiMessage

Field Summary
protected  com.atlassian.pageobjects.elements.PageElement context
           
protected  ExtendedElementFinder extendedFinder
           
protected  com.atlassian.pageobjects.PageBinder pageBinder
           
protected  com.atlassian.pageobjects.elements.timeout.Timeouts timeouts
           
 
Constructor Summary
FormMessages(com.atlassian.pageobjects.elements.PageElement context)
           
 
Method Summary
 com.atlassian.pageobjects.elements.query.TimedQuery<Iterable<AuiMessage>> getAllMessages()
           
 com.atlassian.pageobjects.elements.query.TimedQuery<Iterable<AuiMessage>> getErrors()
           
 AuiMessage getMessage(AuiMessage.Type type)
           
 com.atlassian.pageobjects.elements.query.TimedQuery<Iterable<AuiMessage>> getMessagesOfType(AuiMessage.Type type)
           
 com.atlassian.pageobjects.elements.query.TimedCondition hasErrors()
           
 com.atlassian.pageobjects.elements.query.TimedCondition hasMessagesOfType(AuiMessage.Type type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pageBinder

@Inject
protected com.atlassian.pageobjects.PageBinder pageBinder

timeouts

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

extendedFinder

@Inject
protected ExtendedElementFinder extendedFinder

context

protected final com.atlassian.pageobjects.elements.PageElement context
Constructor Detail

FormMessages

public FormMessages(com.atlassian.pageobjects.elements.PageElement context)
Method Detail

getAllMessages

public com.atlassian.pageobjects.elements.query.TimedQuery<Iterable<AuiMessage>> getAllMessages()

getMessagesOfType

public com.atlassian.pageobjects.elements.query.TimedQuery<Iterable<AuiMessage>> getMessagesOfType(AuiMessage.Type type)

getErrors

public com.atlassian.pageobjects.elements.query.TimedQuery<Iterable<AuiMessage>> getErrors()

getMessage

public AuiMessage getMessage(AuiMessage.Type type)

hasMessagesOfType

public com.atlassian.pageobjects.elements.query.TimedCondition hasMessagesOfType(AuiMessage.Type type)

hasErrors

public com.atlassian.pageobjects.elements.query.TimedCondition hasErrors()


Copyright © 2002-2013 Atlassian. All Rights Reserved.