Model backed map like structure allowing adding of items where instantiation is managed.
Managed types may declare model map properties. Model maps can only contain managed types.
- the contract type for all items| Type | Name and description |
|---|---|
void |
afterEach(Action<? super T> configAction){@inheritDoc} |
void |
afterEach(Class<S> type, Action<? super S> configAction){@inheritDoc} |
void |
all(Action<? super T> configAction){@inheritDoc} |
void |
beforeEach(Action<? super T> configAction){@inheritDoc} |
void |
beforeEach(Class<S> type, Action<? super S> configAction){@inheritDoc} |
boolean |
containsKey(Object name){@inheritDoc} |
boolean |
containsValue(Object item){@inheritDoc} |
void |
create(String name){@inheritDoc} |
void |
create(String name, Action<? super T> configAction){@inheritDoc} |
void |
create(String name, Class<S> type){@inheritDoc} |
void |
create(String name, Class<S> type, Action<? super S> configAction){@inheritDoc} |
T |
get(Object name){@inheritDoc} |
T |
get(String name){@inheritDoc} |
boolean |
isEmpty(){@inheritDoc} |
Set<String> |
keySet(){@inheritDoc} |
void |
named(String name, Action<? super T> configAction){@inheritDoc} |
void |
named(String name, Class<? extends RuleSource> ruleSource){@inheritDoc} |
void |
put(String name, T instance)Add an unmanaged instance to the ModelMap. |
int |
size(){@inheritDoc} |
Collection<T> |
values(){@inheritDoc} |
ModelMap<S> |
withType(Class<S> type){@inheritDoc} |
void |
withType(Class<S> type, Action<? super S> configAction){@inheritDoc} |
void |
withType(Class<S> type, Class<? extends RuleSource> rules) |
| Methods inherited from class | Name |
|---|---|
interface CollectionBuilder |
afterEach, afterEach, all, beforeEach, beforeEach, containsKey, containsValue, create, create, create, create, get, get, isEmpty, keySet, named, named, size, values, withType, withType, withType |
interface Iterable |
iterator |
class Object |
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
{@inheritDoc}
{@inheritDoc}
{@inheritDoc}
{@inheritDoc}
{@inheritDoc}
Add an unmanaged instance to the ModelMap.
{@inheritDoc}
{@inheritDoc}