package com.atlassian.webdriver.bitbucket.element;

import com.atlassian.pageobjects.elements.WebDriverLocatable;
import com.atlassian.pageobjects.elements.timeout.TimeoutType;
import org.openqa.selenium.By;

public class AccessKeyRow extends SshKeyRow<DeleteAccessKeyConfirmationDialog> {

    public AccessKeyRow(By locator) {
        super(locator);
    }

    public AccessKeyRow(By locator, TimeoutType timeoutType) {
        super(locator, timeoutType);
    }

    public AccessKeyRow(By locator, WebDriverLocatable parent) {
        super(locator, parent);
    }

    public AccessKeyRow(By locator, WebDriverLocatable parent, TimeoutType timeoutType) {
        super(locator, parent, timeoutType);
    }

    public AccessKeyRow(WebDriverLocatable locatable, TimeoutType timeoutType) {
        super(locatable, timeoutType);
    }

    @Override
    protected DeleteAccessKeyConfirmationDialog bindToNextPage() {
        return pageBinder.bind(DeleteAccessKeyConfirmationDialog.class, By.id(DeleteAccessKeyConfirmationDialog.ID));
    }
}
