Package jmri.util.prefs
Class AbstractConfigurationProvider
- java.lang.Object
-
- jmri.util.prefs.AbstractConfigurationProvider
-
- Direct Known Subclasses:
JmriConfigurationProvider
,JmriUserInterfaceConfigurationProvider
public abstract class AbstractConfigurationProvider extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description AbstractConfigurationProvider(Profile project)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract AuxiliaryConfiguration
getConfiguration()
Get theAuxiliaryConfiguration
.java.io.File
getConfigurationDirectory(boolean shared)
protected abstract java.io.File
getConfigurationFile(boolean shared)
protected boolean
isPrivateBackedUp()
protected boolean
isSharedBackedUp()
protected void
setPrivateBackedUp(boolean privateBackedUp)
protected void
setSharedBackedUp(boolean sharedBackedUp)
-
-
-
Constructor Detail
-
AbstractConfigurationProvider
public AbstractConfigurationProvider(Profile project)
-
-
Method Detail
-
getConfiguration
protected abstract AuxiliaryConfiguration getConfiguration()
Get theAuxiliaryConfiguration
.- Returns:
- The AuxiliaryConfiguration.
-
getConfigurationFile
protected abstract java.io.File getConfigurationFile(boolean shared)
-
getConfigurationDirectory
public java.io.File getConfigurationDirectory(boolean shared)
-
isPrivateBackedUp
protected boolean isPrivateBackedUp()
- Returns:
- the privateBackedUp
-
setPrivateBackedUp
protected void setPrivateBackedUp(boolean privateBackedUp)
- Parameters:
privateBackedUp
- the privateBackedUp to set
-
isSharedBackedUp
protected boolean isSharedBackedUp()
- Returns:
- the sharedBackedUp
-
setSharedBackedUp
protected void setSharedBackedUp(boolean sharedBackedUp)
- Parameters:
sharedBackedUp
- the sharedBackedUp to set
-
-