public final class PreferencesImpl extends Object implements Preferences
Preferences
Preferences.ColorTheme
Constructor and Description |
---|
PreferencesImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addHistory(String indexPath) |
Preferences.ColorTheme |
getColorTheme() |
String |
getDirImpl() |
List<String> |
getHistory() |
boolean |
isKeepAllCommits() |
boolean |
isNoReader() |
boolean |
isReadOnly() |
boolean |
isUseCompound() |
void |
setColorTheme(Preferences.ColorTheme theme) |
void |
setIndexOpenerPrefs(boolean readOnly,
String dirImpl,
boolean noReader,
boolean useCompound,
boolean keepAllCommits) |
public PreferencesImpl() throws IOException
IOException
public List<String> getHistory()
getHistory
in interface Preferences
public void addHistory(String indexPath) throws IOException
addHistory
in interface Preferences
IOException
public Preferences.ColorTheme getColorTheme()
getColorTheme
in interface Preferences
public void setColorTheme(Preferences.ColorTheme theme) throws IOException
setColorTheme
in interface Preferences
IOException
public boolean isReadOnly()
isReadOnly
in interface Preferences
public String getDirImpl()
getDirImpl
in interface Preferences
public boolean isNoReader()
isNoReader
in interface Preferences
public boolean isUseCompound()
isUseCompound
in interface Preferences
public boolean isKeepAllCommits()
isKeepAllCommits
in interface Preferences
public void setIndexOpenerPrefs(boolean readOnly, String dirImpl, boolean noReader, boolean useCompound, boolean keepAllCommits) throws IOException
setIndexOpenerPrefs
in interface Preferences
IOException
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.