Package me.syncwrld.booter
Class ApplicationLoader
- java.lang.Object
-
- me.syncwrld.booter.CommonPurposeClass
-
- me.syncwrld.booter.ApplicationLoader
-
- Direct Known Subclasses:
JdaApplication
public abstract class ApplicationLoader extends CommonPurposeClass
-
-
Constructor Summary
Constructors Constructor Description ApplicationLoader()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getUptime()
static void
load()
static void
setBootstrapper(ApplicationBootstrapper bootstrapper)
void
setStopwatch(com.google.common.base.Stopwatch stopwatch)
void
shutdown()
-
Methods inherited from class me.syncwrld.booter.CommonPurposeClass
closeQuietly, createDir, createFile, currentOsEquals, currentOsVersionEquals, deleteDir, deleteFile, formatPath, getJavaHome, getJavaVendor, getJavaVersion, getOs, getOsArch, getOsVersion, getOutputStream, getResource, saveFile
-
-
-
-
Method Detail
-
load
public static void load()
-
setBootstrapper
public static void setBootstrapper(ApplicationBootstrapper bootstrapper)
-
setStopwatch
public void setStopwatch(com.google.common.base.Stopwatch stopwatch)
-
shutdown
public void shutdown()
-
getUptime
public java.lang.String getUptime()
-
-