Uses of Interface
net.officefloor.frame.api.function.FlowCallback
-
-
Uses of FlowCallback in net.officefloor.compile.spi.officefloor
Methods in net.officefloor.compile.spi.officefloor with parameters of type FlowCallback Modifier and Type Method Description ProcessManager
ExternalServiceInput. service(M managedObject, FlowCallback callback)
Invoked by an external service to useOfficeFloor
. -
Uses of FlowCallback in net.officefloor.compile.test.managedfunction.clazz
Methods in net.officefloor.compile.test.managedfunction.clazz with parameters of type FlowCallback Modifier and Type Method Description void
MethodManagedFunctionBuilderUtil.ManagedFunctionFlowHandler. handle(java.lang.Object parameter, FlowCallback callback)
Handles theFlow
. -
Uses of FlowCallback in net.officefloor.frame.api.function
Fields in net.officefloor.frame.api.function declared as FlowCallback Modifier and Type Field Description static FlowCallback
FlowCallback. ESCALATE
FlowCallback
that simply escalates theFlow
Escalation
to the invokingManagedFunctionContainer
(i.e.Methods in net.officefloor.frame.api.function with parameters of type FlowCallback Modifier and Type Method Description void
FunctionFlowContext. doFlow(int flowIndex, java.lang.Object parameter, FlowCallback callback)
Similar toFunctionFlowContext.doFlow(Enum, Object, FlowCallback)
except that allows dynamic instigation ofFlow
instances.void
FunctionFlowContext. doFlow(F key, java.lang.Object parameter, FlowCallback callback)
Instigates aFlow
to be run from theManagedFunctionLogic
.void
ManagedFunctionContext. doFlow(java.lang.String functionName, java.lang.Object parameter, FlowCallback callback)
-
Uses of FlowCallback in net.officefloor.frame.api.manage
Methods in net.officefloor.frame.api.manage with parameters of type FlowCallback Modifier and Type Method Description ProcessManager
FunctionManager. invokeProcess(java.lang.Object parameter, FlowCallback callback)
-
Uses of FlowCallback in net.officefloor.frame.api.managedobject.source
Methods in net.officefloor.frame.api.managedobject.source with parameters of type FlowCallback Modifier and Type Method Description ProcessManager
ManagedObjectServiceContext. invokeProcess(int flowIndex, java.lang.Object parameter, ManagedObject managedObject, long delay, FlowCallback callback)
Instigates aProcessState
.ProcessManager
ManagedObjectServiceContext. invokeProcess(F key, java.lang.Object parameter, ManagedObject managedObject, long delay, FlowCallback callback)
Instigates aProcessState
.ManagedObjectStartupProcess
ManagedObjectExecuteContext. invokeStartupProcess(int flowIndex, java.lang.Object parameter, ManagedObject managedObject, FlowCallback callback)
Invokes a start upFlow
.ManagedObjectStartupProcess
ManagedObjectExecuteContext. invokeStartupProcess(F key, java.lang.Object parameter, ManagedObject managedObject, FlowCallback callback)
Invokes a start upFlow
. -
Uses of FlowCallback in net.officefloor.frame.impl.execute.office
Methods in net.officefloor.frame.impl.execute.office with parameters of type FlowCallback Modifier and Type Method Description FunctionState
OfficeMetaDataImpl. createProcess(FlowMetaData flowMetaData, java.lang.Object parameter, FlowCallback callback, ThreadState callbackThreadState)
ProcessManager
FunctionManagerImpl. invokeProcess(java.lang.Object parameter, FlowCallback callback)
ProcessManager
OfficeMetaDataImpl. invokeProcess(FlowMetaData flowMetaData, java.lang.Object parameter, long delay, FlowCallback callback, ThreadState callbackThreadState, ManagedObject inputManagedObject, ManagedObjectMetaData<?> inputManagedObjectMetaData, int processBoundIndexForInputManagedObject)
-
Uses of FlowCallback in net.officefloor.frame.impl.execute.officefloor
Methods in net.officefloor.frame.impl.execute.officefloor with parameters of type FlowCallback Modifier and Type Method Description ProcessManager
ManagedObjectServiceContextImpl. invokeProcess(int flowIndex, java.lang.Object parameter, ManagedObject managedObject, long delay, FlowCallback callback)
ProcessManager
ManagedObjectServiceContextImpl. invokeProcess(F key, java.lang.Object parameter, ManagedObject managedObject, long delay, FlowCallback callback)
ProcessManager
ManagedObjectServiceContextImpl. invokeProcess(FlowMetaData flowMetaData, java.lang.Object parameter, ManagedObject managedObject, long delay, FlowCallback callback)
Invokes theProcessState
for theFlowMetaData
. -
Uses of FlowCallback in net.officefloor.frame.impl.execute.process
Constructors in net.officefloor.frame.impl.execute.process with parameters of type FlowCallback Constructor Description ProcessStateImpl(ProcessMetaData processMetaData, OfficeMetaData officeMetaData, FlowCallback callback, ThreadState callbackThreadState, ThreadLocalAwareExecutor threadLocalAwareExecutor, Profiler profiler, java.util.function.Consumer<ProcessState> initialSetup)
Initiate.ProcessStateImpl(ProcessMetaData processMetaData, OfficeMetaData officeMetaData, FlowCallback callback, ThreadState callbackThreadState, ThreadLocalAwareExecutor threadLocalAwareExecutor, Profiler profiler, ManagedObject inputManagedObject, ManagedObjectMetaData<?> inputManagedObjectMetaData, int inputManagedObjectIndex, java.util.function.Consumer<ProcessState> initialSetup)
Initiate for aProcessState
initiated by aManagedObject
. -
Uses of FlowCallback in net.officefloor.frame.impl.execute.service
Methods in net.officefloor.frame.impl.execute.service with parameters of type FlowCallback Modifier and Type Method Description ProcessManager
SafeManagedObjectService. invokeProcess(int flowIndex, java.lang.Object parameter, ManagedObject managedObject, long delay, FlowCallback callback)
ProcessManager
SafeManagedObjectService. invokeProcess(F key, java.lang.Object parameter, ManagedObject managedObject, long delay, FlowCallback callback)
-
Uses of FlowCallback in net.officefloor.frame.impl.execute.thread
Constructors in net.officefloor.frame.impl.execute.thread with parameters of type FlowCallback Constructor Description ThreadStateImpl(ThreadMetaData threadMetaData, FlowCallback callback, ThreadState callbackThreadState, ProcessState processState, ProcessProfiler processProfiler)
Initiate withProcessState
FlowCallback
. -
Uses of FlowCallback in net.officefloor.frame.internal.structure
Methods in net.officefloor.frame.internal.structure with parameters of type FlowCallback Modifier and Type Method Description FunctionState
OfficeMetaData. createProcess(FlowMetaData flowMetaData, java.lang.Object parameter, FlowCallback callback, ThreadState callbackThreadState)
Creates a newProcessState
.void
ManagedFunctionLogicContext. doFlow(FlowMetaData flowMetaData, java.lang.Object parameter, FlowCallback callback)
Invokes aFlow
.ProcessManager
OfficeMetaData. invokeProcess(FlowMetaData flowMetaData, java.lang.Object parameter, long delay, FlowCallback callback, ThreadState callbackThreadState, ManagedObject inputManagedObject, ManagedObjectMetaData<?> inputManagedObjectMetaData, int processBoundIndexForInputManagedObject)
Invokes aProcessState
. -
Uses of FlowCallback in net.officefloor.frame.test
Classes in net.officefloor.frame.test that implement FlowCallback Modifier and Type Class Description class
CompleteFlowCallback
FlowCallback
that checks on completion and propagates failures.class
SafeCompleteFlowCallback
Thread
safeCompleteFlowCallback
.Methods in net.officefloor.frame.test with parameters of type FlowCallback Modifier and Type Method Description void
ReflectiveFlow. doFlow(java.lang.Object parameter, FlowCallback callback)
Invokes theFlow
.Office
AbstractOfficeConstructTestCase. triggerFunction(java.lang.String functionName, java.lang.Object parameter, FlowCallback callback)
Triggers theManagedFunction
but does not wait for its completion.Office
ConstructTestSupport. triggerFunction(java.lang.String functionName, java.lang.Object parameter, FlowCallback callback)
Triggers theManagedFunction
but does not wait for its completion. -
Uses of FlowCallback in net.officefloor.jdbc.test
Methods in net.officefloor.jdbc.test with parameters of type FlowCallback Modifier and Type Method Description void
AbstractJdbcTestCase.SelectSection.Flows. thread(AbstractJdbcTestCase.SelectParameter parameter, FlowCallback callback)
-
Uses of FlowCallback in net.officefloor.jpa.test
Methods in net.officefloor.jpa.test with parameters of type FlowCallback Modifier and Type Method Description void
AbstractJpaTestCase.StressSelectSection.Flows. thread(AbstractJpaTestCase.SelectParameter parameter, FlowCallback callback)
-
Uses of FlowCallback in net.officefloor.plugin.clazz
Subinterfaces of FlowCallback in net.officefloor.plugin.clazz Modifier and Type Interface Description interface
FlowSuccessful
FlowCallback
that propagates failures and only handles success. -
Uses of FlowCallback in net.officefloor.plugin.clazz.flow
Methods in net.officefloor.plugin.clazz.flow with parameters of type FlowCallback Modifier and Type Method Description void
ClassFlowInvoker. doFlow(int flowIndex, java.lang.Object parameter, FlowCallback callback)
Invokes theFlow
. -
Uses of FlowCallback in net.officefloor.plugin.managedobject.poll
Methods in net.officefloor.plugin.managedobject.poll with parameters of type FlowCallback Modifier and Type Method Description void
StatePoller.Initialiser. initialise(StatePollContext<S> context, FlowCallback callback)
Invoked to initialise polling state.void
StatePoller.Poller. nextPoll(long delay, StatePollContext<S> context, FlowCallback callback)
Invoked to setup the next poll. -
Uses of FlowCallback in net.officefloor.script
Methods in net.officefloor.script with parameters of type FlowCallback Modifier and Type Method Description void
ScriptFlow. doFlow(java.lang.Object parameter, FlowCallback callback)
Undertakes theFlow
. -
Uses of FlowCallback in net.officefloor.server.http.impl
Classes in net.officefloor.server.http.impl that implement FlowCallback Modifier and Type Class Description class
ProcessAwareServerHttpConnectionManagedObject<B>
ServerHttpConnection
implementation available forExternalServiceInput
.Methods in net.officefloor.server.http.impl that return FlowCallback Modifier and Type Method Description FlowCallback
ProcessAwareServerHttpConnectionManagedObject. getServiceFlowCallback()
Obtains the serviceFlowCallback
. -
Uses of FlowCallback in net.officefloor.web.security.scheme
Fields in net.officefloor.web.security.scheme with type parameters of type FlowCallback Modifier and Type Field Description protected java.util.Map<F,java.util.function.BiConsumer<java.lang.Object,FlowCallback>>
AbstractMockHttpSecurityActionContext. flows
Flow
handlers.Methods in net.officefloor.web.security.scheme with parameters of type FlowCallback Modifier and Type Method Description void
AbstractMockHttpSecurityActionContext. doFlow(F key, java.lang.Object parameter, FlowCallback callback)
Method parameters in net.officefloor.web.security.scheme with type arguments of type FlowCallback Modifier and Type Method Description void
AbstractMockHttpSecurityActionContext. registerFlow(F key, java.util.function.BiConsumer<java.lang.Object,FlowCallback> handler)
Registers aFlow
handler. -
Uses of FlowCallback in net.officefloor.web.spi.security
Methods in net.officefloor.web.spi.security with parameters of type FlowCallback Modifier and Type Method Description void
HttpSecurityApplicationContext. doFlow(F key, java.lang.Object parameter, FlowCallback callback)
Undertakes a flow.ProcessManager
HttpSecurityExecuteContext. invokeProcess(F key, java.lang.Object parameter, long delay, FlowCallback callback)
Instigates aFlow
.ManagedObjectStartupProcess
HttpSecurityExecuteContext. registerStartupProcess(F key, java.lang.Object parameter, FlowCallback callback)
Registers a start upFlow
.
-