public class RuntimeSettings extends AbstractJIPipeParameterCollection
JIPipeParameterCollection.ParameterChangedEvent, JIPipeParameterCollection.ParameterChangedEventEmitter, JIPipeParameterCollection.ParameterChangedEventListener, JIPipeParameterCollection.ParameterStructureChangedEvent, JIPipeParameterCollection.ParameterStructureChangedEventEmitter, JIPipeParameterCollection.ParameterStructureChangedEventListener, JIPipeParameterCollection.ParameterUIChangedEvent, JIPipeParameterCollection.ParameterUIChangedEventEmitter, JIPipeParameterCollection.ParameterUIChangedEventListener
Constructor and Description |
---|
RuntimeSettings()
Creates a new instance
|
Modifier and Type | Method and Description |
---|---|
static Path |
generateTempDirectory(String baseName)
Generates a temporary directory
|
static Path |
generateTempFile(String prefix,
String suffix)
Generates a temporary directory
|
int |
getDefaultQuickRunThreads() |
int |
getDefaultRunThreads() |
static RuntimeSettings |
getInstance() |
int |
getLogLimit() |
OptionalPathParameter |
getTempDirectory() |
boolean |
isAllowCache() |
boolean |
isAllowSkipAlgorithmsWithoutInput() |
void |
setAllowCache(boolean allowCache) |
void |
setAllowSkipAlgorithmsWithoutInput(boolean allowSkipAlgorithmsWithoutInput) |
boolean |
setDefaultQuickRunThreads(int defaultTestBenchThreads)
Sets the number of threads for test bench
|
boolean |
setDefaultRunThreads(int defaultRunThreads)
Sets the number of threads
|
void |
setLogLimit(int logLimit) |
void |
setTempDirectory(OptionalPathParameter tempDirectory) |
getParameterChangedEventEmitter, getParameterStructureChangedEventEmitter, getParameterUIChangedEventEmitter
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
emitParameterChangedEvent, emitParameterStructureChangedEvent, emitParameterUIChangedEvent, getContextActions, getParameter, getParameterAccess, installUIOverrideParameterEditor, installUIParameterOptions, isParameterUIVisible, isParameterUIVisible, setParameter
public static final String ID
public static RuntimeSettings getInstance()
public static Path generateTempDirectory(String baseName)
baseName
- optional base namepublic static Path generateTempFile(String prefix, String suffix)
prefix
- prefixsuffix
- suffixpublic boolean isAllowSkipAlgorithmsWithoutInput()
public void setAllowSkipAlgorithmsWithoutInput(boolean allowSkipAlgorithmsWithoutInput)
public boolean isAllowCache()
public void setAllowCache(boolean allowCache)
public OptionalPathParameter getTempDirectory()
public void setTempDirectory(OptionalPathParameter tempDirectory)
public int getDefaultRunThreads()
public boolean setDefaultRunThreads(int defaultRunThreads)
defaultRunThreads
- threadspublic int getDefaultQuickRunThreads()
public boolean setDefaultQuickRunThreads(int defaultTestBenchThreads)
defaultTestBenchThreads
- threadspublic int getLogLimit()
public void setLogLimit(int logLimit)
Copyright © 2020–2023 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.