Class BukkitLoaderStrategy
- java.lang.Object
-
- me.syncwrld.booter.CommonPurposeClass
-
- me.syncwrld.booter.bootstrapper.strategies.BukkitLoaderStrategy
-
- All Implemented Interfaces:
LoaderStrategy<org.bukkit.plugin.java.JavaPlugin>
public class BukkitLoaderStrategy extends CommonPurposeClass implements LoaderStrategy<org.bukkit.plugin.java.JavaPlugin>
-
-
Constructor Summary
Constructors Constructor Description BukkitLoaderStrategy()
-
Method Summary
All Methods Instance Methods Concrete 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<org.bukkit.plugin.java.JavaPlugin>
getValid()
boolean
isValid(java.lang.Object o)
boolean
load(org.bukkit.plugin.java.JavaPlugin javaPlugin)
boolean
loadAllValid()
org.bukkit.plugin.java.JavaPlugin
recognize(java.lang.Object o)
-
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
-
getValid
public java.util.Set<org.bukkit.plugin.java.JavaPlugin> getValid()
- Specified by:
getValid
in interfaceLoaderStrategy<org.bukkit.plugin.java.JavaPlugin>
-
isValid
public boolean isValid(java.lang.Object o)
- Specified by:
isValid
in interfaceLoaderStrategy<org.bukkit.plugin.java.JavaPlugin>
-
recognize
public org.bukkit.plugin.java.JavaPlugin recognize(java.lang.Object o)
- Specified by:
recognize
in interfaceLoaderStrategy<org.bukkit.plugin.java.JavaPlugin>
-
getPossible
public java.util.Set<java.lang.Object> getPossible(java.io.File path)
- Specified by:
getPossible
in interfaceLoaderStrategy<org.bukkit.plugin.java.JavaPlugin>
-
getInvalidsWithReason
public java.util.Set<Pair<java.io.File,java.lang.String>> getInvalidsWithReason()
- Specified by:
getInvalidsWithReason
in interfaceLoaderStrategy<org.bukkit.plugin.java.JavaPlugin>
-
load
public boolean load(org.bukkit.plugin.java.JavaPlugin javaPlugin)
- Specified by:
load
in interfaceLoaderStrategy<org.bukkit.plugin.java.JavaPlugin>
-
loadAllValid
public boolean loadAllValid()
- Specified by:
loadAllValid
in interfaceLoaderStrategy<org.bukkit.plugin.java.JavaPlugin>
-
getLoadingFolder
public java.io.File getLoadingFolder()
- Specified by:
getLoadingFolder
in interfaceLoaderStrategy<org.bukkit.plugin.java.JavaPlugin>
-
getApplicationIdentifier
public java.lang.String getApplicationIdentifier()
- Specified by:
getApplicationIdentifier
in interfaceLoaderStrategy<org.bukkit.plugin.java.JavaPlugin>
-
-