Class AbstractConfigureNotificationComponent
- java.lang.Object
-
- com.atlassian.bamboo.pageobjects.pages.plan.configuration.notification.AbstractConfigureNotificationComponent
-
- Direct Known Subclasses:
ConfigureNotificationComponent
,ConfigureSystemNotificationComponent
public abstract class AbstractConfigureNotificationComponent extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected com.atlassian.pageobjects.PageBinder
pageBinder
protected com.atlassian.pageobjects.elements.PageElementFinder
pageElementFinder
-
Constructor Summary
Constructors Constructor Description AbstractConfigureNotificationComponent()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description String
getErrorMessage()
@Nullable String
getSelectedUserName()
boolean
isPresent(boolean expected)
Check if dialog present or not.abstract void
save()
AbstractConfigureNotificationComponent
withCondition(@NotNull String conditionKey)
AbstractConfigureNotificationComponent
withRecipientType(@NotNull String recipientTypeKey)
AbstractConfigureNotificationComponent
withUserName(@NotNull String userName)
-
-
-
Method Detail
-
save
public abstract void save()
-
withCondition
public AbstractConfigureNotificationComponent withCondition(@NotNull @NotNull String conditionKey)
-
withRecipientType
public AbstractConfigureNotificationComponent withRecipientType(@NotNull @NotNull String recipientTypeKey)
-
withUserName
public AbstractConfigureNotificationComponent withUserName(@NotNull @NotNull String userName)
-
getSelectedUserName
@Nullable public @Nullable String getSelectedUserName()
-
isPresent
public boolean isPresent(boolean expected)
Check if dialog present or not. In case it's exists/hidden during 5 seconds return result.- Parameters:
expected
-- Returns:
-
getErrorMessage
public String getErrorMessage()
-
-