dev.galasa.linux.internal.properties.LinuxArchivesDirectory 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 Archives Directory
*
* Where are archives stored on this image
*
*
* The property is:-
*
* linux.image.GALLNX.archives.directory=/opt/archives
* linux.image.archives.directory=/opt/archives
*
*
* Default is /opt/archives
*
*
*
*
*/
public class LinuxArchivesDirectory extends CpsProperties {
public static String get(String imageName) throws ConfigurationPropertyStoreException, LinuxManagerException {
return getStringWithDefault(LinuxPropertiesSingleton.cps(), "/opt/archives", "image", "archives.directory", imageName);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy