Package net.officefloor.script
Class ScriptFlowParameterFactory
- java.lang.Object
-
- net.officefloor.script.ScriptFlowParameterFactory
-
- All Implemented Interfaces:
ClassDependencyFactory
public class ScriptFlowParameterFactory extends java.lang.Object implements ClassDependencyFactory
- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description ScriptFlowParameterFactory(int flowIndex)
Instantiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
createDependency(AdministrationContext<java.lang.Object,Indexed,Indexed> context)
Creates the dependency forAdministration
.java.lang.Object
createDependency(ManagedFunctionContext<Indexed,Indexed> context)
Creates the dependency for aManagedFunction
.java.lang.Object
createDependency(ManagedObject managedObject, ManagedObjectContext context, ObjectRegistry<Indexed> registry)
Creates the dependency for aManagedObject
.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.officefloor.plugin.clazz.dependency.ClassDependencyFactory
loadManagedObjectExecuteContext
-
-
-
-
Constructor Detail
-
ScriptFlowParameterFactory
public ScriptFlowParameterFactory(int flowIndex)
Instantiate.- Parameters:
flowIndex
- Index of theFlow
.
-
-
Method Detail
-
createDependency
public java.lang.Object createDependency(ManagedFunctionContext<Indexed,Indexed> context) throws java.lang.Throwable
Description copied from interface:ClassDependencyFactory
Creates the dependency for aManagedFunction
.- Specified by:
createDependency
in interfaceClassDependencyFactory
- Parameters:
context
-ManagedFunctionContext
.- Returns:
- Dependency.
- Throws:
java.lang.Throwable
- If fails to create the dependency.
-
createDependency
public java.lang.Object createDependency(ManagedObject managedObject, ManagedObjectContext context, ObjectRegistry<Indexed> registry) throws java.lang.Throwable
Description copied from interface:ClassDependencyFactory
Creates the dependency for aManagedObject
.- Specified by:
createDependency
in interfaceClassDependencyFactory
- Parameters:
managedObject
-ManagedObject
.context
-ManagedObjectContext
.registry
-ObjectRegistry
.- Returns:
- Dependency.
- Throws:
java.lang.Throwable
- If fails to create the dependency.
-
createDependency
public java.lang.Object createDependency(AdministrationContext<java.lang.Object,Indexed,Indexed> context) throws java.lang.Throwable
Description copied from interface:ClassDependencyFactory
Creates the dependency forAdministration
.- Specified by:
createDependency
in interfaceClassDependencyFactory
- Parameters:
context
-AdministrationContext
.- Returns:
- Dependency.
- Throws:
java.lang.Throwable
- If fails to create the dependency.
-
-