dev.galasa.linux.internal.properties.LinuxOperatingSystem Maven / Gradle / Ivy
The newest version!
/*
* Copyright contributors to the Galasa project
*
* SPDX-License-Identifier: EPL-2.0
*/
package dev.galasa.linux.internal.properties;
import dev.galasa.framework.spi.ConfigurationPropertyStoreException;
import dev.galasa.framework.spi.cps.CpsProperties;
import dev.galasa.linux.LinuxManagerException;
/**
* Linux Operating System
*
* What the operating system of the shared linux image is
*
*
* The property is:-
*
* linux.image.GALLNX.operating.system=UBUNTU
* linux.image.operating.system=UBUNTU
*
*
* There is no default, the property must be provided for the image to be selectable
*
*
*
*
*/
public class LinuxOperatingSystem extends CpsProperties {
public static String get(String imageName) throws ConfigurationPropertyStoreException, LinuxManagerException {
return getStringNulled(LinuxPropertiesSingleton.cps(), "image", "operating.system", imageName);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy