/*
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * See the NOTICE file distributed with this work for additional
 * information regarding copyright ownership.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package io.appium.java_client;

/**
 * Enums defining constants for Appium Settings which can be set and toggled during a test session.
 */
public enum Setting {

    IGNORE_UNIMPORTANT_VIEWS("ignoreUnimportantViews"),
    WAIT_FOR_IDLE_TIMEOUT("waitForIdleTimeout"),
    WAIT_FOR_SELECTOR_TIMEOUT("setWaitForSelectorTimeout"),
    WAIT_SCROLL_ACKNOWLEDGMENT_TIMEOUT("setScrollAcknowledgmentTimeout"),
    WAIT_ACTION_ACKNOWLEDGMENT_TIMEOUT("setActionAcknowledgmentTimeout"),
    KEY_INJECTION_DELAY("setKeyInjectionDelay"),
    NATIVE_WEB_TAP("nativeWebTap");

    private String name;

    Setting(String name) {
        this.name = name;
    }

    public String toString() {
        return this.name;
    }
}

@@ -1226,16 +1226,387 @@
 WebTap%22)
+,%0A    IMAGE_MATCH_THRESHOLD(%22imageMatchThreshold%22),%0A    FIX_IMAGE_FIND_SCREENSHOT_DIMENSIONS(%22fixImageFindScreenshotDims%22),%0A    FIX_IMAGE_TEMPLATE_SIZE(%22fixImageTemplateSize%22),%0A    CHECK_IMAGE_ELEMENT_STALENESS(%22checkForImageElementStaleness%22),%0A    UPDATE_IMAGE_ELEMENT_POSITION(%22autoUpdateImageElementPosition%22),%0A    IMAGE_ELEMENT_TAP_STRATEGY(%22imageElementTapStrategy%22)
 ;%0A%0A    p

add some new global settings for image element stuff (#1011)