Package de.hshannover.dqgui.core.model
Class ApplicationProperties
- java.lang.Object
-
- de.hshannover.dqgui.core.model.ApplicationProperties
-
- All Implemented Interfaces:
Recoverable
public final class ApplicationProperties extends java.lang.Object implements Recoverable
-
-
Constructor Summary
Constructors Constructor Description ApplicationProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addFilesystemProject(Project p)
java.util.List<DatabaseConnection>
getDbRepositories()
java.util.Set<Project>
getFileSystemProjectsReadOnlyCopy()
java.lang.String
getGlobalChecks()
java.lang.String
getrArgs()
java.lang.String
getRemoteHost()
java.lang.String
getRemoteKey()
RepoType
getRepoType()
java.lang.String
getrPath()
java.lang.String
getrScriptPath()
Signal
getrServeAutoStartSignal()
Signal
getrServeLocationChangeSignal()
java.util.Optional<DatabaseConnection>
getSelectedDbRepo()
java.util.Optional<Project>
getSelectedProject()
boolean
isAutoIndent()
boolean
isAutoSuggest()
boolean
isRServeAutoStart()
boolean
isShowWelcome()
void
recoverHook()
Convert data if for example you require a synchronized list instead of an ArrayList here.void
removeFilesystemProject(Project p)
javafx.beans.property.ReadOnlyObjectProperty<RepoType>
repoTypeProperty()
void
resetDbRepo()
javafx.beans.binding.BooleanBinding
serverSetProperty()
void
setAutoIndent(java.lang.Boolean autoIndent)
void
setAutoSuggest(java.lang.Boolean autosuggest)
void
setDbRepository(DatabaseConnection selected, java.util.List<DatabaseConnection> dbRepositories)
void
setGlobalChecks(java.lang.String globalChecks)
void
setRemote(java.lang.String remoteHost, java.lang.String remoteKey)
void
setRepoType(RepoType type)
void
setRServeAutoStart(boolean rAutostart)
void
setRSettings(java.lang.String rPath, java.lang.String rScriptPath, java.lang.String rArgs)
void
setSelectedProject(Project prj)
void
setShowWelcome(boolean showWelcome)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.hshannover.dqgui.framework.api.Recoverable
dump
-
-
-
-
Method Detail
-
repoTypeProperty
public javafx.beans.property.ReadOnlyObjectProperty<RepoType> repoTypeProperty()
-
getRepoType
public RepoType getRepoType()
-
setRepoType
public void setRepoType(RepoType type)
-
getSelectedDbRepo
public java.util.Optional<DatabaseConnection> getSelectedDbRepo()
-
getDbRepositories
public java.util.List<DatabaseConnection> getDbRepositories()
-
setDbRepository
public void setDbRepository(DatabaseConnection selected, java.util.List<DatabaseConnection> dbRepositories)
-
getGlobalChecks
public java.lang.String getGlobalChecks()
-
setGlobalChecks
public void setGlobalChecks(java.lang.String globalChecks)
-
isShowWelcome
public boolean isShowWelcome()
-
setShowWelcome
public void setShowWelcome(boolean showWelcome)
-
setRSettings
public void setRSettings(java.lang.String rPath, java.lang.String rScriptPath, java.lang.String rArgs)
-
setRServeAutoStart
public void setRServeAutoStart(boolean rAutostart)
-
getrArgs
public java.lang.String getrArgs()
-
getrScriptPath
public java.lang.String getrScriptPath()
-
isRServeAutoStart
public boolean isRServeAutoStart()
-
getrPath
public java.lang.String getrPath()
-
recoverHook
public void recoverHook()
Description copied from interface:Recoverable
Convert data if for example you require a synchronized list instead of an ArrayList here.This should really be private but private in interfaces is Java 9+.
DON'T EVER CALL THIS UNLESS YOU'RE NAMED Serialization.java- Specified by:
recoverHook
in interfaceRecoverable
-
resetDbRepo
public void resetDbRepo()
-
setAutoSuggest
public void setAutoSuggest(java.lang.Boolean autosuggest)
-
isAutoSuggest
public boolean isAutoSuggest()
-
setAutoIndent
public void setAutoIndent(java.lang.Boolean autoIndent)
-
isAutoIndent
public boolean isAutoIndent()
-
getrServeAutoStartSignal
public Signal getrServeAutoStartSignal()
-
getrServeLocationChangeSignal
public Signal getrServeLocationChangeSignal()
-
getFileSystemProjectsReadOnlyCopy
public java.util.Set<Project> getFileSystemProjectsReadOnlyCopy()
-
removeFilesystemProject
public void removeFilesystemProject(Project p)
-
addFilesystemProject
public void addFilesystemProject(Project p)
-
getSelectedProject
public java.util.Optional<Project> getSelectedProject()
-
setSelectedProject
public void setSelectedProject(Project prj)
-
setRemote
public void setRemote(java.lang.String remoteHost, java.lang.String remoteKey)
-
getRemoteHost
public java.lang.String getRemoteHost()
-
getRemoteKey
public java.lang.String getRemoteKey()
-
serverSetProperty
public javafx.beans.binding.BooleanBinding serverSetProperty()
-
-