Skip navigation links
A B C D E F G N O P R S T U V W 

A

ALWAYS_FALSE - Static variable in interface org.jeasy.flows.work.WorkReportPredicate
 
ALWAYS_TRUE - Static variable in interface org.jeasy.flows.work.WorkReportPredicate
 
aNewConditionalFlow() - Static method in class org.jeasy.flows.workflow.ConditionalFlow.Builder
 
aNewParallelFlow() - Static method in class org.jeasy.flows.workflow.ParallelFlow.Builder
 
aNewRepeatFlow() - Static method in class org.jeasy.flows.workflow.RepeatFlow.Builder
 
aNewSequentialFlow() - Static method in class org.jeasy.flows.workflow.SequentialFlow.Builder
 
aNewWorkFlowEngine() - Static method in class org.jeasy.flows.engine.WorkFlowEngineBuilder
Create a new WorkFlowEngineBuilder.
apply(WorkReport) - Method in interface org.jeasy.flows.work.WorkReportPredicate
Apply the predicate on the given work report.
apply(WorkReport) - Method in class org.jeasy.flows.work.WorkReportPredicate.TimesPredicate
 

B

build() - Method in class org.jeasy.flows.engine.WorkFlowEngineBuilder
Create a new WorkFlowEngine.
build() - Method in interface org.jeasy.flows.workflow.ConditionalFlow.Builder.BuildStep
 
build() - Method in interface org.jeasy.flows.workflow.ParallelFlow.Builder.BuildStep
 
build() - Method in interface org.jeasy.flows.workflow.RepeatFlow.Builder.BuildStep
 
build() - Method in interface org.jeasy.flows.workflow.SequentialFlow.Builder.ThenStep
 

C

COMPLETED - Static variable in interface org.jeasy.flows.work.WorkReportPredicate
 
ConditionalFlow - Class in org.jeasy.flows.workflow
A conditional flow is defined by 4 artifacts: The work to execute first A predicate for the conditional logic The work to execute if the predicate is satisfied The work to execute if the predicate is not satisfied (optional)
ConditionalFlow.Builder - Class in org.jeasy.flows.workflow
 
ConditionalFlow.Builder.BuildStep - Interface in org.jeasy.flows.workflow
 
ConditionalFlow.Builder.ExecuteStep - Interface in org.jeasy.flows.workflow
 
ConditionalFlow.Builder.NameStep - Interface in org.jeasy.flows.workflow
 
ConditionalFlow.Builder.OtherwiseStep - Interface in org.jeasy.flows.workflow
 
ConditionalFlow.Builder.ThenStep - Interface in org.jeasy.flows.workflow
 
ConditionalFlow.Builder.WhenStep - Interface in org.jeasy.flows.workflow
 

D

DefaultWorkReport - Class in org.jeasy.flows.work
Default implementation of WorkReport.
DefaultWorkReport(WorkStatus, WorkContext) - Constructor for class org.jeasy.flows.work.DefaultWorkReport
Create a new DefaultWorkReport.
DefaultWorkReport(WorkStatus, WorkContext, Throwable) - Constructor for class org.jeasy.flows.work.DefaultWorkReport
Create a new DefaultWorkReport.

E

execute(WorkContext) - Method in class org.jeasy.flows.work.NoOpWork
 
execute(WorkContext) - Method in interface org.jeasy.flows.work.Work
Execute the unit of work and return its report.
execute(Work) - Method in interface org.jeasy.flows.workflow.ConditionalFlow.Builder.ExecuteStep
 
execute(WorkContext) - Method in class org.jeasy.flows.workflow.ConditionalFlow
Execute the unit of work and return its report.
execute(Work...) - Method in interface org.jeasy.flows.workflow.ParallelFlow.Builder.ExecuteStep
 
execute(WorkContext) - Method in class org.jeasy.flows.workflow.ParallelFlow
Execute the unit of work and return its report.
execute(WorkContext) - Method in class org.jeasy.flows.workflow.RepeatFlow
Execute the unit of work and return its report.
execute(Work) - Method in interface org.jeasy.flows.workflow.SequentialFlow.Builder.ExecuteStep
 
execute(List<Work>) - Method in interface org.jeasy.flows.workflow.SequentialFlow.Builder.ExecuteStep
 
execute(WorkContext) - Method in class org.jeasy.flows.workflow.SequentialFlow
Execute the unit of work and return its report.

F

FAILED - Static variable in interface org.jeasy.flows.work.WorkReportPredicate
 

G

get(String) - Method in class org.jeasy.flows.work.WorkContext
 
getEntrySet() - Method in class org.jeasy.flows.work.WorkContext
 
getError() - Method in class org.jeasy.flows.work.DefaultWorkReport
 
getError() - Method in interface org.jeasy.flows.work.WorkReport
Get error if any.
getError() - Method in class org.jeasy.flows.workflow.ParallelFlowReport
Return the first error of partial reports.
getName() - Method in class org.jeasy.flows.work.NoOpWork
 
getName() - Method in interface org.jeasy.flows.work.Work
The name of the unit of work.
getReports() - Method in class org.jeasy.flows.workflow.ParallelFlowReport
Get partial reports.
getStatus() - Method in class org.jeasy.flows.work.DefaultWorkReport
 
getStatus() - Method in interface org.jeasy.flows.work.WorkReport
Get work execution status.
getStatus() - Method in class org.jeasy.flows.workflow.ParallelFlowReport
Return the status of the parallel flow.
getWorkContext() - Method in class org.jeasy.flows.work.DefaultWorkReport
 
getWorkContext() - Method in interface org.jeasy.flows.work.WorkReport
Get the last work context of the flow
getWorkContext() - Method in class org.jeasy.flows.workflow.ParallelFlowReport
The parallel flow context is the union of all partial contexts.

N

named(String) - Method in interface org.jeasy.flows.workflow.ConditionalFlow.Builder.NameStep
 
named(String) - Method in interface org.jeasy.flows.workflow.ParallelFlow.Builder.NameStep
 
named(String) - Method in interface org.jeasy.flows.workflow.RepeatFlow.Builder.NameStep
 
named(String) - Method in interface org.jeasy.flows.workflow.SequentialFlow.Builder.NameStep
 
NoOpWork - Class in org.jeasy.flows.work
No operation work.
NoOpWork() - Constructor for class org.jeasy.flows.work.NoOpWork
 

O

org.jeasy.flows.engine - package org.jeasy.flows.engine
 
org.jeasy.flows.work - package org.jeasy.flows.work
 
org.jeasy.flows.workflow - package org.jeasy.flows.workflow
 
otherwise(Work) - Method in interface org.jeasy.flows.workflow.ConditionalFlow.Builder.OtherwiseStep
 

P

ParallelFlow - Class in org.jeasy.flows.workflow
A parallel flow executes a set of work units in parallel.
ParallelFlow.Builder - Class in org.jeasy.flows.workflow
 
ParallelFlow.Builder.BuildStep - Interface in org.jeasy.flows.workflow
 
ParallelFlow.Builder.ExecuteStep - Interface in org.jeasy.flows.workflow
 
ParallelFlow.Builder.NameStep - Interface in org.jeasy.flows.workflow
 
ParallelFlow.Builder.WithStep - Interface in org.jeasy.flows.workflow
 
ParallelFlowReport - Class in org.jeasy.flows.workflow
Aggregate report of the partial reports of work units executed in a parallel flow.
ParallelFlowReport() - Constructor for class org.jeasy.flows.workflow.ParallelFlowReport
Create a new ParallelFlowReport.
ParallelFlowReport(List<WorkReport>) - Constructor for class org.jeasy.flows.workflow.ParallelFlowReport
Create a new ParallelFlowReport.
put(String, Object) - Method in class org.jeasy.flows.work.WorkContext
 

R

repeat(Work) - Method in interface org.jeasy.flows.workflow.RepeatFlow.Builder.RepeatStep
 
RepeatFlow - Class in org.jeasy.flows.workflow
A repeat flow executes a work repeatedly until its report satisfies a given predicate.
RepeatFlow.Builder - Class in org.jeasy.flows.workflow
 
RepeatFlow.Builder.BuildStep - Interface in org.jeasy.flows.workflow
 
RepeatFlow.Builder.NameStep - Interface in org.jeasy.flows.workflow
 
RepeatFlow.Builder.RepeatStep - Interface in org.jeasy.flows.workflow
 
RepeatFlow.Builder.UntilStep - Interface in org.jeasy.flows.workflow
 
run(WorkFlow, WorkContext) - Method in interface org.jeasy.flows.engine.WorkFlowEngine
Run the given workflow and return its report.

S

SequentialFlow - Class in org.jeasy.flows.workflow
A sequential flow executes a set of work units in sequence.
SequentialFlow.Builder - Class in org.jeasy.flows.workflow
 
SequentialFlow.Builder.ExecuteStep - Interface in org.jeasy.flows.workflow
 
SequentialFlow.Builder.NameStep - Interface in org.jeasy.flows.workflow
 
SequentialFlow.Builder.ThenStep - Interface in org.jeasy.flows.workflow
 

T

then(Work) - Method in interface org.jeasy.flows.workflow.ConditionalFlow.Builder.ThenStep
 
then(Work) - Method in interface org.jeasy.flows.workflow.SequentialFlow.Builder.ThenStep
 
then(List<Work>) - Method in interface org.jeasy.flows.workflow.SequentialFlow.Builder.ThenStep
 
times(int) - Static method in class org.jeasy.flows.work.WorkReportPredicate.TimesPredicate
 
times(int) - Method in interface org.jeasy.flows.workflow.RepeatFlow.Builder.UntilStep
 
TimesPredicate(int) - Constructor for class org.jeasy.flows.work.WorkReportPredicate.TimesPredicate
 
toString() - Method in class org.jeasy.flows.work.DefaultWorkReport
 
toString() - Method in class org.jeasy.flows.work.WorkContext
 

U

until(WorkReportPredicate) - Method in interface org.jeasy.flows.workflow.RepeatFlow.Builder.UntilStep
 

V

valueOf(String) - Static method in enum org.jeasy.flows.work.WorkStatus
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.jeasy.flows.work.WorkStatus
Returns an array containing the constants of this enum type, in the order they are declared.

W

when(WorkReportPredicate) - Method in interface org.jeasy.flows.workflow.ConditionalFlow.Builder.WhenStep
 
with(ExecutorService) - Method in interface org.jeasy.flows.workflow.ParallelFlow.Builder.WithStep
A ParallelFlow requires an ExecutorService to execute work units in parallel using multiple threads.
Work - Interface in org.jeasy.flows.work
This interface represents a unit of work.
WorkContext - Class in org.jeasy.flows.work
Work execution context.
WorkContext() - Constructor for class org.jeasy.flows.work.WorkContext
 
WorkFlow - Interface in org.jeasy.flows.workflow
Interface to define a flow of work units.
WorkFlowEngine - Interface in org.jeasy.flows.engine
Interface for a workflow engine.
WorkFlowEngineBuilder - Class in org.jeasy.flows.engine
Main entry point to create WorkFlowEngine instances.
WorkReport - Interface in org.jeasy.flows.work
Execution report of a unit of work.
WorkReportPredicate - Interface in org.jeasy.flows.work
A predicate interface on work report.
WorkReportPredicate.TimesPredicate - Class in org.jeasy.flows.work
A predicate that returns true after a given number of times.
WorkStatus - Enum in org.jeasy.flows.work
Work execution status enumeration.
A B C D E F G N O P R S T U V W 
Skip navigation links

Copyright © 2020. All rights reserved.