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

com.github.mkolisnyk.sirius.client.ConfigurationOption Maven / Gradle / Ivy

The newest version!
package com.github.mkolisnyk.sirius.client;

public enum ConfigurationOption {
    PLATFORM("platform"),
    TIMEOUT("timeout"),
    PAGES_PACKAGE("pages_package");

    private String value;

    ConfigurationOption(String param) {
        this.value = param;
    }
    public static ConfigurationOption fromString(String input) {
        for (ConfigurationOption option : ConfigurationOption.values()) {
            if (option.getValue().equals(input)) {
                return option;
            }
        }
        return null;
    }
    public String getValue() {
        return value;
    }
    @Override
    public String toString() {
        return getValue();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy