public class SkillBinder
extends java.lang.Object
Constructor and Description |
---|
SkillBinder() |
Modifier and Type | Method and Description |
---|---|
GenericSkillTemplate |
accessSkill(java.lang.String skillName) |
GenericSkillTemplate[] |
accessSkills() |
boolean |
hasSkill(java.lang.String skillName) |
void |
load(java.io.File file)
Loads the given file to extract SkillTemplate objects.
|
static java.util.Map<java.lang.String,GenericSkill> |
mapSkills(GenericSkill[] skills) |
static java.util.Map<java.lang.String,GenericSkillTemplate> |
mapSkillTemplates(GenericSkillTemplate[] templates) |
static void |
updateGroups(java.util.Collection<GenericSkill> skills,
java.util.Map<java.lang.String,GenericSkillTemplate> allSkills)
Make sure ranked skills have groups
|
public GenericSkillTemplate[] accessSkills()
public boolean hasSkill(java.lang.String skillName)
public GenericSkillTemplate accessSkill(java.lang.String skillName)
public void load(java.io.File file)
file
- public static java.util.Map<java.lang.String,GenericSkill> mapSkills(GenericSkill[] skills)
public static java.util.Map<java.lang.String,GenericSkillTemplate> mapSkillTemplates(GenericSkillTemplate[] templates)
public static void updateGroups(java.util.Collection<GenericSkill> skills, java.util.Map<java.lang.String,GenericSkillTemplate> allSkills)