public abstract class AbstractRecipe extends java.lang.Object implements Recipe
Modifier | Constructor and Description |
---|---|
protected |
AbstractRecipe() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
create() |
java.lang.Object |
create(java.lang.ClassLoader classLoader) |
java.lang.Object |
create(java.lang.reflect.Type expectedType,
boolean lazyRefAllowed) |
java.util.List<Recipe> |
getConstructorRecipes() |
java.lang.String |
getName() |
java.util.List<Recipe> |
getNestedRecipes() |
float |
getPriority() |
protected abstract java.lang.Object |
internalCreate(java.lang.reflect.Type expectedType,
boolean lazyRefAllowed) |
void |
setName(java.lang.String name) |
java.lang.String |
toString() |
public void setName(java.lang.String name)
public float getPriority()
getPriority
in interface Recipe
public java.lang.Object create() throws ConstructionException
create
in interface Recipe
ConstructionException
public final java.lang.Object create(java.lang.ClassLoader classLoader) throws ConstructionException
create
in interface Recipe
ConstructionException
public final java.lang.Object create(java.lang.reflect.Type expectedType, boolean lazyRefAllowed) throws ConstructionException
create
in interface Recipe
ConstructionException
protected abstract java.lang.Object internalCreate(java.lang.reflect.Type expectedType, boolean lazyRefAllowed) throws ConstructionException
ConstructionException
public java.util.List<Recipe> getNestedRecipes()
getNestedRecipes
in interface Recipe
public java.util.List<Recipe> getConstructorRecipes()
getConstructorRecipes
in interface Recipe
public java.lang.String toString()
toString
in class java.lang.Object