Package cern.accsoft.steering.jmad.util
Interface JMadPreferences
-
- All Known Implementing Classes:
JMadPreferencesImpl
public interface JMadPreferencesmethods to handle settings that must be configurable by an user-application
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetModelRepositoryBasePath()java.lang.StringgetOutputPath()booleanisCleanupKernelFiles()voidsetCleanupKernelFiles(boolean cleanup)set totrueif the files created by the kernel should be cleaned up at the end,falseif not.voidsetModelRepositoryBasePath(java.lang.String basePath)sets the base-path to the model repository.voidsetOutputPath(java.lang.String outputPath)
-
-
-
Method Detail
-
setOutputPath
void setOutputPath(java.lang.String outputPath)
- Parameters:
outputPath- the path where jmad shall write its data
-
getOutputPath
java.lang.String getOutputPath()
- Returns:
- the path where jmad shall write its data
-
getModelRepositoryBasePath
java.lang.String getModelRepositoryBasePath()
- Returns:
- the base path to the model repository or
nullif the property is not set.
-
setModelRepositoryBasePath
void setModelRepositoryBasePath(java.lang.String basePath)
sets the base-path to the model repository.- Parameters:
basePath- the new path
-
isCleanupKernelFiles
boolean isCleanupKernelFiles()
- Returns:
trueif the files created by the kernel should be cleaned up at the end,falseif not.
-
setCleanupKernelFiles
void setCleanupKernelFiles(boolean cleanup)
set totrueif the files created by the kernel should be cleaned up at the end,falseif not.- Parameters:
cleanup- the value to set
-
-