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.PageBinderpageBinderprotected com.atlassian.pageobjects.elements.PageElementFinderpageElementFinder
-
Constructor Summary
Constructors Constructor Description AbstractConfigureNotificationComponent()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description StringgetErrorMessage()@Nullable StringgetSelectedUserName()booleanisPresent(boolean expected)Check if dialog present or not.abstract voidsave()AbstractConfigureNotificationComponentwithCondition(@NotNull String conditionKey)AbstractConfigureNotificationComponentwithRecipientType(@NotNull String recipientTypeKey)AbstractConfigureNotificationComponentwithUserName(@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()
-
-