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

dev.galasa.selenium.internal.properties.SeleniumDseInstanceName Maven / Gradle / Ivy

There is a newer version: 0.34.0
Show newest version
/*
 * Licensed Materials - Property of IBM
 * 
 * (c) Copyright IBM Corp. 2019.
 */
package dev.galasa.selenium.internal.properties;

import dev.galasa.framework.spi.ConfigurationPropertyStoreException;
import dev.galasa.framework.spi.cps.CpsProperties;
import dev.galasa.selenium.SeleniumManagerException;

/**
 * Selenium DSE Instance CPS Property
 * 
 * @galasa.cps.property
 * 
 * @galasa.name selenium.dse.instance.name
 * 
 * @galasa.description Provides a DSE instance for selenium properties
 * 
 * @galasa.required No
 * 
 * @galasa.default PRIMARY
 * 
 * @galasa.valid_values A valid uppercase String
 * 
 * @galasa.examples 
 * selenium.dse.instance.name=PRIMARY
 * 
 */
public class SeleniumDseInstanceName extends CpsProperties {

    public static String get() throws ConfigurationPropertyStoreException, SeleniumManagerException {
        return getStringWithDefault(SeleniumPropertiesSingleton.cps(), "PRIMARY", "dse", "instance.name");
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy