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

automated.core.enums.TimeEnum Maven / Gradle / Ivy

The newest version!
package automated.core.enums;

/**
 * Created by Ismail on 12/25/2017.
 * This Enum Class contains all related Time int values
 */
public enum TimeEnum {

    /*************** Enum Definition Section ***************/
    TIMEOUT(100),// This Enum saves general timeout for webDriver
    PAGE_LOAD_TIMEOUT(100),// This Enum saves page load time for webDriver
    IMPLICIT_WAIT_TIMEOUT(100),// This Enum saves wait till action for webDriver
    EXPLICIT_WAIT_TIMEOUT(500),// This Enum saves wait till condition for webDriver
    SCRIPT_TIMEOUT(105);// This Enum saves wait script execution for webDriver

    /*************** Enum Variables Section ***************/
    // Define private variable so will return each Enum value
    private int time;

    /*************** Enum Methods Section ***************/
    // Class Structure to initialize Enum self value
    TimeEnum(int time) {
        this.time = time;
    }

    // This method to return Enum value
    public int value() {
        return time;
    }

    // This method to set Enum a new value
    public void value(int time) {
        this.time = time;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy