Package de.frankmuenster.mahoe
Class Settings
- java.lang.Object
-
- de.frankmuenster.mahoe.Settings
-
public final class Settings extends java.lang.Object
Settings für Mahoe- Author:
- Frank Münster
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static de.willuhn.jameica.plugin.Version
getOldVersion()
static java.lang.String
getSeleniumDriver()
Returns the Selenium FF driver to usestatic java.lang.String
getSeleniumFireFoxBinary()
Returns the Selenium FF binary to usestatic java.lang.String
getVersion()
Liefert die Mahoe-Versionstatic boolean
isBackEndClassUpdated()
Return if the back end class update run already.static boolean
isSeleniumAutoClose()
Returns if the Selenium FF session should be closed automatically after each job group (bank and account are the same) or to keep the session open and the user needs to close it manually.static boolean
isSeleniumInstalled()
Is BOS function usedstatic boolean
isSeleniumUseDegugLog()
Returns if the Selenium log level should be set to DEBUGstatic void
setBackEndClassUpdated(java.lang.Boolean backEndClassUpdated)
Set if the back end class update run already.static void
setFfProfile(java.lang.String ffProfile)
Set the FF profile to usestatic void
setOldVersion(de.willuhn.jameica.plugin.Version oldVersion)
static void
setSeleniumAutoClose(boolean autoClose)
Set if the Selenium FF session should be closed automatically after each job group (bank and account are the same) or to keep the session open and the user needs to close it manually.static void
setSeleniumDriver(java.lang.String seleniumDriver)
Set the Selenium FF driver to usestatic void
setSeleniumFireFoxBinary(java.lang.String seleniumFireFoxBinary)
Set the Selenium FF binary to usestatic void
setSeleniumInstalled(java.lang.Boolean seleniumInstalled)
Set if the Selenium Ff driver is installedstatic void
setSeleniumUseDebugLog(boolean seleniumDebugLog)
Set the Selenium log level
-
-
-
Method Detail
-
getOldVersion
public static de.willuhn.jameica.plugin.Version getOldVersion()
- Returns:
- the oldVersion
-
getSeleniumDriver
public static java.lang.String getSeleniumDriver()
Returns the Selenium FF driver to use- Returns:
- the Selenium FF driver
-
getSeleniumFireFoxBinary
public static java.lang.String getSeleniumFireFoxBinary()
Returns the Selenium FF binary to use- Returns:
- the Selenium FF binary
-
getVersion
public static java.lang.String getVersion()
Liefert die Mahoe-Version- Returns:
- die Mahoe-Version
-
isBackEndClassUpdated
public static boolean isBackEndClassUpdated()
Return if the back end class update run already.- Returns:
- true if the back end class update had run successfully, false else.
-
isSeleniumAutoClose
public static boolean isSeleniumAutoClose()
Returns if the Selenium FF session should be closed automatically after each job group (bank and account are the same) or to keep the session open and the user needs to close it manually.
-
isSeleniumInstalled
public static boolean isSeleniumInstalled()
Is BOS function used- Returns:
- isBosUsed
-
isSeleniumUseDegugLog
public static boolean isSeleniumUseDegugLog()
Returns if the Selenium log level should be set to DEBUG
-
setBackEndClassUpdated
public static void setBackEndClassUpdated(java.lang.Boolean backEndClassUpdated)
Set if the back end class update run already.- Parameters:
backEndClassUpdated
- set true if the back end class update run successfully already, false else.
-
setFfProfile
public static void setFfProfile(java.lang.String ffProfile)
Set the FF profile to use- Parameters:
ffProfile
- the FF profile driver to use
-
setOldVersion
public static void setOldVersion(de.willuhn.jameica.plugin.Version oldVersion)
- Parameters:
oldVersion
- the oldVersion to set
-
setSeleniumAutoClose
public static void setSeleniumAutoClose(boolean autoClose)
Set if the Selenium FF session should be closed automatically after each job group (bank and account are the same) or to keep the session open and the user needs to close it manually.- Parameters:
autoClose
-true
if the window should be closed after each job group,false
if the user should close the window automatically.
-
setSeleniumDriver
public static void setSeleniumDriver(java.lang.String seleniumDriver)
Set the Selenium FF driver to use- Parameters:
seleniumDriver
- the Selenium FF driver to use
-
setSeleniumFireFoxBinary
public static void setSeleniumFireFoxBinary(java.lang.String seleniumFireFoxBinary)
Set the Selenium FF binary to use- Parameters:
seleniumFireFoxBinary
- the Selenium FF binary to use
-
setSeleniumInstalled
public static void setSeleniumInstalled(java.lang.Boolean seleniumInstalled)
Set if the Selenium Ff driver is installed- Parameters:
seleniumInstalled
-
-
setSeleniumUseDebugLog
public static void setSeleniumUseDebugLog(boolean seleniumDebugLog)
Set the Selenium log level- Parameters:
seleniumDebugLog
- set to true in case debug log level should be used
-
-