/** * Erzeugt eine Instanz fuer die Konfiguration ueber eine ausfuherbare Datei. * * @param logging - Logging ein oder ausgeschaltet * @param severity - Schweregrad der Meldungen die geloggt werden soll, <code>null</code> wenn * logging = <code>false</code> * @param executableFile - Die ausfuehrbare Datei, als {@link File}-Objekt * @param params - Optionale Parameter fuer die Executable * @return Das {@link IEnvironmentConfiguration}-Objekt fuer Konfiguration ueber ausfuehrbare * Datei */ public static IEnvironmentConfiguration instanceOfExecutable( final boolean logging, final TLogSeverity severity, final File executableFile, final List<String> params) { EnvironmentConfiguration config = new EnvironmentConfiguration(logging, severity); config.fExecutableFile = executableFile; config.fExecutable = true; if (params == null) { config.fCommands = Collections.emptyList(); } else { config.fCommands = Collections.unmodifiableList(new ArrayList<String>(params)); } return config; }