Interface JMadPreferences

  • All Known Implementing Classes:
    JMadPreferencesImpl

    public interface JMadPreferences
    methods to handle settings that must be configurable by an user-application
    • 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 to true if the files created by the kernel should be cleaned up at the end, false if not.
        Parameters:
        cleanup - the value to set