All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.fluentlenium.core.performance.PerformanceTimingEvent Maven / Gradle / Ivy

package org.fluentlenium.core.performance;

/**
 * Provides event types according to the
 * 
 * W3C Performance Timing interface. documentation.
 */
public enum PerformanceTimingEvent {

    NAVIGATION_START("navigationStart"),
    UNLOAD_EVENT_START("unloadEventStart"),
    UNLOAD_EVENT_END("unloadEventEnd"),
    REDIRECT_START("redirectStart"),
    REDIRECT_END("redirectEnd"),
    FETCH_START("fetchStart"),
    DOMAIN_LOOKUP_START("domainLookupStart"),
    DOMAIN_LOOKUP_END("domainLookupEnd"),
    CONNECT_START("connectStart"),
    CONNECT_END("connectEnd"),
    SECURE_CONNECTION_START("secureConnectionStart"),
    REQUEST_START("requestStart"),
    RESPONSE_START("responseStart"),
    RESPONSE_END("responseEnd"),
    DOM_LOADING("domLoading"),
    DOM_INTERACTIVE("domInteractive"),
    DOM_CONTENT_LOADED_EVENT_START("domContentLoadedEventStart"),
    DOM_CONTENT_LOADED_EVENT_END("domContentLoadedEventEnd"),
    DOM_COMPLETE("domComplete"),
    LOAD_EVENT_START("loadEventStart"),
    LOAD_EVENT_END("loadEventEnd");

    private final String event;

    PerformanceTimingEvent(String event) {
        this.event = event;
    }

    public String getEvent() {
        return event;
    }

    @Override
    public String toString() {
        return this.event;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy