Package me.syncwrld.booter.bootstrapper
Interface LoaderStrategy<T>
-
- All Known Implementing Classes:
BukkitLoaderStrategy
,JdaApplicationLoaderStrategy
public interface LoaderStrategy<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getApplicationIdentifier()
java.util.Set<Pair<java.io.File,java.lang.String>>
getInvalidsWithReason()
java.io.File
getLoadingFolder()
java.util.Set<java.lang.Object>
getPossible(java.io.File path)
java.util.Set<T>
getValid()
boolean
isValid(java.lang.Object o)
boolean
load(T t)
boolean
loadAllValid()
T
recognize(java.lang.Object o)
-
-
-
Method Detail
-
getValid
java.util.Set<T> getValid()
-
isValid
boolean isValid(java.lang.Object o)
-
recognize
T recognize(java.lang.Object o)
-
getPossible
java.util.Set<java.lang.Object> getPossible(java.io.File path)
-
getInvalidsWithReason
java.util.Set<Pair<java.io.File,java.lang.String>> getInvalidsWithReason()
-
load
boolean load(T t)
-
loadAllValid
boolean loadAllValid()
-
getLoadingFolder
java.io.File getLoadingFolder()
-
getApplicationIdentifier
java.lang.String getApplicationIdentifier()
-
-