Serializable
AbstractRecipe
, AllPropertiesRecipe
, ArrayRecipe
, CollectionRecipe
, MapRecipe
, ObjectRecipe
, ReferenceNameRecipe
, ReferenceRecipe
, StaticRecipe
, UnsetPropertiesRecipe
public interface Recipe extends Serializable
Modifier and Type | Method | Description |
---|---|---|
boolean |
canCreate(Type type) |
|
Object |
create() |
|
Object |
create(ClassLoader classLoader) |
|
Object |
create(Type expectedType,
boolean lazyRefAllowed) |
|
List<Recipe> |
getConstructorRecipes() |
|
String |
getName() |
|
List<Recipe> |
getNestedRecipes() |
|
float |
getPriority() |
String getName()
float getPriority()
boolean canCreate(Type type)
Object create() throws ConstructionException
ConstructionException
Object create(ClassLoader classLoader) throws ConstructionException
ConstructionException
Object create(Type expectedType, boolean lazyRefAllowed) throws ConstructionException
ConstructionException
Copyright © 2005–2018. All rights reserved.