public abstract class AbstractRecipe extends Object implements Recipe
Modifier | Constructor and Description |
---|---|
protected |
AbstractRecipe() |
Modifier and Type | Method and Description |
---|---|
Object |
create() |
Object |
create(ClassLoader classLoader) |
Object |
create(Type expectedType,
boolean lazyRefAllowed) |
List<Recipe> |
getConstructorRecipes() |
String |
getName() |
List<Recipe> |
getNestedRecipes() |
float |
getPriority() |
protected abstract Object |
internalCreate(Type expectedType,
boolean lazyRefAllowed) |
void |
setName(String name) |
String |
toString() |
public void setName(String name)
public float getPriority()
getPriority
in interface Recipe
public Object create() throws ConstructionException
create
in interface Recipe
ConstructionException
public final Object create(ClassLoader classLoader) throws ConstructionException
create
in interface Recipe
ConstructionException
public final Object create(Type expectedType, boolean lazyRefAllowed) throws ConstructionException
create
in interface Recipe
ConstructionException
protected abstract Object internalCreate(Type expectedType, boolean lazyRefAllowed) throws ConstructionException
ConstructionException
public List<Recipe> getNestedRecipes()
getNestedRecipes
in interface Recipe
public List<Recipe> getConstructorRecipes()
getConstructorRecipes
in interface Recipe
Copyright © 2005–2023. All rights reserved.