Package cern.accsoft.steering.jmad.util
Interface JMadPreferences
-
- All Known Implementing Classes:
JMadPreferencesImpl
public interface JMadPreferences
methods 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.String
getModelRepositoryBasePath()
java.lang.String
getOutputPath()
boolean
isCleanupKernelFiles()
void
setCleanupKernelFiles(boolean cleanup)
set totrue
if the files created by the kernel should be cleaned up at the end,false
if not.void
setModelRepositoryBasePath(java.lang.String basePath)
sets the base-path to the model repository.void
setOutputPath(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
null
if 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:
true
if the files created by the kernel should be cleaned up at the end,false
if not.
-
setCleanupKernelFiles
void setCleanupKernelFiles(boolean cleanup)
set totrue
if the files created by the kernel should be cleaned up at the end,false
if not.- Parameters:
cleanup
- the value to set
-
-