public class BackupSettings extends AbstractJIPipeParameterCollection
JIPipeParameterCollection.ParameterChangedEvent, JIPipeParameterCollection.ParameterChangedEventEmitter, JIPipeParameterCollection.ParameterChangedEventListener, JIPipeParameterCollection.ParameterStructureChangedEvent, JIPipeParameterCollection.ParameterStructureChangedEventEmitter, JIPipeParameterCollection.ParameterStructureChangedEventListener, JIPipeParameterCollection.ParameterUIChangedEvent, JIPipeParameterCollection.ParameterUIChangedEventEmitter, JIPipeParameterCollection.ParameterUIChangedEventListener
Constructor and Description |
---|
BackupSettings() |
Modifier and Type | Method and Description |
---|---|
void |
backup(JIPipeProjectWindow window) |
void |
backupAll() |
int |
getBackupDelay() |
Path |
getCurrentBackupPath() |
OptionalPathParameter |
getCustomBackupPath() |
static BackupSettings |
getInstance() |
boolean |
isEnableBackups() |
boolean |
setAutoSaveDelay(int autoSaveDelay) |
void |
setCustomBackupPath(OptionalPathParameter customBackupPath) |
void |
setEnableBackups(boolean enableBackups) |
getParameterChangedEventEmitter, getParameterStructureChangedEventEmitter, getParameterUIChangedEventEmitter, onParameterChanged, onParameterStructureChanged, onParameterUIChanged, registerSubParameter, registerSubParameters
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 BackupSettings getInstance()
public void backup(JIPipeProjectWindow window)
public Path getCurrentBackupPath()
public void backupAll()
public boolean isEnableBackups()
public void setEnableBackups(boolean enableBackups)
public int getBackupDelay()
public boolean setAutoSaveDelay(int autoSaveDelay)
public OptionalPathParameter getCustomBackupPath()
public void setCustomBackupPath(OptionalPathParameter customBackupPath)
Copyright © 2020–2024 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.