public class Phases extends Object
Modifier and Type | Field and Description |
---|---|
private static Map<String,Phase> |
skills |
Modifier | Constructor and Description |
---|---|
private |
Phases() |
Modifier and Type | Method and Description |
---|---|
static void |
addPhase(Phase phase)
Adds specified Phase to the HashMap.
|
static boolean |
exists(String name)
Returns true if Phase with specified name exists in HashMap.
|
static Phase |
get(String name)
Returns Phase by specified name.
|
static Collection<Phase> |
getAll()
Returns Collection of all Phases from HashMap.
|
static void |
reset()
Clears the HashMap of phases.
|
public static void addPhase(Phase phase)
phase
- public static boolean exists(String name)
name
- public static Phase get(String name)
name
- public static void reset()
public static Collection<Phase> getAll()