net.sf.gridarta.model.autojoin
public class AutojoinListsHelper extends Object
AutojoinList
related functions.Modifier and Type | Field and Description |
---|---|
private static Pattern |
ALTERNATIVES_PATTERN
A
Pattern that matches alternative archetypes. |
private AutojoinLists<TestGameObject,TestMapArchObject,TestArchetype> |
autojoinLists
The
AutojoinLists instance. |
private TestMapModelCreator |
mapModelCreator
The
TestMapModelCreator instance. |
Constructor and Description |
---|
AutojoinListsHelper()
Creates a new instance.
|
AutojoinListsHelper(TestMapModelCreator mapModelCreator)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
newAutojoinLists(String... archetypeNames)
Creates a new
AutojoinLists instance. |
void |
newAutojoinListsFail(String expectedException,
String... archetypeNames)
Creates a new
AutojoinLists instance and expects an error. |
@NotNull private static final Pattern ALTERNATIVES_PATTERN
Pattern
that matches alternative archetypes.@NotNull private final TestMapModelCreator mapModelCreator
TestMapModelCreator
instance.@NotNull private final AutojoinLists<TestGameObject,TestMapArchObject,TestArchetype> autojoinLists
AutojoinLists
instance.public AutojoinListsHelper()
public AutojoinListsHelper(@NotNull TestMapModelCreator mapModelCreator)
mapModelCreator
- the map model creator instancepublic void newAutojoinLists(@NotNull String... archetypeNames) throws IllegalAutojoinListException
AutojoinLists
instance.archetypeNames
- the names of the archetypesIllegalAutojoinListException
- if the autojoin lists instance
cannot be createdpublic void newAutojoinListsFail(@NotNull String expectedException, @NotNull String... archetypeNames)
AutojoinLists
instance and expects an error.expectedException
- the expected error messagearchetypeNames
- the archetype namesFeedback: webmaster
© 2003-2010 The Gridarta Developers. All rights reserved.