public class CollectionRecipe extends AbstractRecipe
Constructor and Description |
---|
CollectionRecipe() |
CollectionRecipe(Class type) |
CollectionRecipe(Collection<?> collection) |
CollectionRecipe(CollectionRecipe collectionRecipe) |
CollectionRecipe(String type) |
Modifier and Type | Method and Description |
---|---|
void |
add(Object value) |
void |
addAll(Collection<?> value) |
void |
allow(Option option) |
boolean |
canCreate(Type expectedType) |
void |
disallow(Option option) |
List<Object> |
getAll() |
List<Recipe> |
getConstructorRecipes() |
List<Recipe> |
getNestedRecipes() |
protected Object |
internalCreate(Type expectedType,
boolean lazyRefAllowed) |
void |
remove(Object value) |
void |
removeAll(Object value) |
create, create, create, getName, getPriority, setName, toString
public CollectionRecipe()
public CollectionRecipe(String type)
public CollectionRecipe(Class type)
public CollectionRecipe(Collection<?> collection)
public CollectionRecipe(CollectionRecipe collectionRecipe)
public void allow(Option option)
public void disallow(Option option)
public List<Recipe> getNestedRecipes()
getNestedRecipes
in interface Recipe
getNestedRecipes
in class AbstractRecipe
public List<Recipe> getConstructorRecipes()
getConstructorRecipes
in interface Recipe
getConstructorRecipes
in class AbstractRecipe
public boolean canCreate(Type expectedType)
protected Object internalCreate(Type expectedType, boolean lazyRefAllowed) throws ConstructionException
internalCreate
in class AbstractRecipe
ConstructionException
public void add(Object value)
public void addAll(Collection<?> value)
public void remove(Object value)
public void removeAll(Object value)
Copyright © 2005-2014. All Rights Reserved.