public class ConfigurationLoader
extends java.lang.Object
| Constructor and Description |
|---|
ConfigurationLoader(java.io.File rootPath,
Debugger logger,
RewardProvider rewardProvider,
ChannelProvider channelProvider) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearCache() |
ActionTypes |
getActionTypes()
Retrieves the current registered action types.
|
Configuration |
getFromPath(java.lang.String path) |
Configuration |
getFromSection(org.bukkit.configuration.ConfigurationSection data) |
ItemParser |
getItemParser()
Retrieves the parser responsible for parsing item queries.
|
MobMatcher |
getMobMatcher()
Retrieves the current mob name and mob category parser.
|
MobParser |
getMobParser()
Retrieves the parser responsible for parsing mob queries.
|
ItemNameParser |
getNameParser()
Retrieves the current name parser.
|
void |
setActionTypes(ActionTypes actionTypes)
Sets the current registry of action types.
|
void |
setItemParser(ItemParser itemParser)
Sets the parser responsible for parsing item queries.
|
void |
setMobMatcher(MobMatcher mobMatcher)
Sets the current mob name and mob category parser.
|
void |
setMobParser(MobParser mobParser)
Sets the parser responsible for parsing mob queries.
|
void |
setNameParser(ItemNameParser nameParser)
Sets the current name parser.
|
public ConfigurationLoader(java.io.File rootPath,
Debugger logger,
RewardProvider rewardProvider,
ChannelProvider channelProvider)
public void clearCache()
public ItemParser getItemParser()
public void setItemParser(ItemParser itemParser)
itemParser - - the new item query parser.public MobMatcher getMobMatcher()
public void setMobMatcher(MobMatcher mobMatcher)
mobMatcher - - new mob name/mob category parser.public MobParser getMobParser()
public void setMobParser(MobParser mobParser)
mobParser - - the new mob query parser.public ItemNameParser getNameParser()
public void setNameParser(ItemNameParser nameParser)
nameParser - - new name parser.public ActionTypes getActionTypes()
public void setActionTypes(ActionTypes actionTypes)
actionTypes - - new action type registry.public Configuration getFromPath(java.lang.String path)
public Configuration getFromSection(org.bukkit.configuration.ConfigurationSection data)