public class JIPipeRuntimeApplicationSettings extends JIPipeDefaultApplicationsSettingsSheet
JIPipeParameterCollection.ParameterChangedEvent, JIPipeParameterCollection.ParameterChangedEventEmitter, JIPipeParameterCollection.ParameterChangedEventListener, JIPipeParameterCollection.ParameterStructureChangedEvent, JIPipeParameterCollection.ParameterStructureChangedEventEmitter, JIPipeParameterCollection.ParameterStructureChangedEventListener, JIPipeParameterCollection.ParameterUIChangedEvent, JIPipeParameterCollection.ParameterUIChangedEventEmitter, JIPipeParameterCollection.ParameterUIChangedEventListener
Constructor and Description |
---|
JIPipeRuntimeApplicationSettings()
Creates a new instance
|
Modifier and Type | Method and Description |
---|---|
JIPipeDefaultApplicationSettingsSheetCategory |
getDefaultCategory()
Returns one of the predefined categories
|
int |
getDefaultQuickRunThreads() |
int |
getDefaultRunThreads() |
String |
getDescription()
Description of this settings sheet
|
Icon |
getIcon()
The icon of the settings sheet
|
String |
getId()
The unique ID of the settings sheet
|
static JIPipeRuntimeApplicationSettings |
getInstance() |
int |
getLogLimit() |
String |
getName()
The name of the settings sheet as displayed in the UI
|
OptionalPathParameter |
getTempDirectory() |
static Path |
getTemporaryBaseDirectory() |
static Path |
getTemporaryDirectory(String baseName)
Generates a temporary directory
|
static Path |
getTemporaryFile(String prefix,
String suffix)
Generates a temporary directory
|
boolean |
isAllowCache() |
boolean |
isAllowSkipAlgorithmsWithoutInput() |
boolean |
isPerProjectTempDirectory() |
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 |
setPerProjectTempDirectory(boolean perProjectTempDirectory) |
void |
setTempDirectory(OptionalPathParameter tempDirectory) |
getCategory, getCategoryIcon
getParameterChangedEventEmitter, getParameterStructureChangedEventEmitter, getParameterUIChangedEventEmitter, onParameterChanged, onParameterStructureChanged, onParameterUIChanged, registerSubParameter, registerSubParameters
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
deserializeFromJsonNode, emitParameterChangedEvent, emitParameterStructureChangedEvent, emitParameterUIChangedEvent, getContextActions, getParameter, getParameterAccess, getParameterChangedEventEmitter, getParameterStructureChangedEventEmitter, getParameterUIChangedEventEmitter, installUIOverrideParameterEditor, installUIParameterOptions, isParameterUIVisible, isParameterUIVisible, serializeToJsonFile, serializeToJsonGenerator, serializeToJsonString, setParameter
public static final String ID
public JIPipeRuntimeApplicationSettings()
public static JIPipeRuntimeApplicationSettings getInstance()
public static Path getTemporaryBaseDirectory()
public static Path getTemporaryDirectory(String baseName)
baseName
- optional base namepublic static Path getTemporaryFile(String prefix, String suffix)
prefix
- prefixsuffix
- suffixpublic boolean isPerProjectTempDirectory()
public void setPerProjectTempDirectory(boolean perProjectTempDirectory)
public 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)
public JIPipeDefaultApplicationSettingsSheetCategory getDefaultCategory()
JIPipeDefaultApplicationsSettingsSheet
getDefaultCategory
in class JIPipeDefaultApplicationsSettingsSheet
public String getId()
JIPipeSettingsSheet
public Icon getIcon()
JIPipeSettingsSheet
public String getName()
JIPipeSettingsSheet
public String getDescription()
JIPipeSettingsSheet
Copyright © 2020–2025 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.