public class

AuiMessage

extends Object
java.lang.Object
   ↳ com.atlassian.jira.pageobjects.elements.AuiMessage
Known Direct Subclasses

Class Overview

Generic AUI messages, error warning success

Summary

Nested Classes
enum AuiMessage.Type  
Fields
protected final By context
protected PageElementFinder elementFinder
protected PageElement message
Public Constructors
AuiMessage(By by)
AuiMessage(PageElement message)
Public Methods
AuiMessage dismiss()
TimedQuery<String> getMessage()
Gets text of message
AuiMessage.Type getType()
Type of message - Error, Warning, Success & UNKOWN
boolean isCloseable()
Does it have a X that when clicked dismisses message
boolean isOfType(AuiMessage.Type type)
TimedCondition isPresent()
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected final By context

protected PageElementFinder elementFinder

protected PageElement message

Public Constructors

public AuiMessage (By by)

public AuiMessage (PageElement message)

Public Methods

public AuiMessage dismiss ()

public TimedQuery<String> getMessage ()

Gets text of message

Returns
  • text of message

public AuiMessage.Type getType ()

Type of message - Error, Warning, Success & UNKOWN

Returns
  • message type

public boolean isCloseable ()

Does it have a X that when clicked dismisses message

Returns
  • if closeable or not

public boolean isOfType (AuiMessage.Type type)

public TimedCondition isPresent ()