A B C D E F G I N O P R S T U V W 
All Classes All Packages

A

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

B

build() - Method in class com.redhat.parodos.workflows.engine.WorkFlowEngineBuilder
Create a new WorkFlowEngine.
build() - Method in interface com.redhat.parodos.workflows.workflow.ConditionalFlow.Builder.BuildStep
 
build() - Method in interface com.redhat.parodos.workflows.workflow.ParallelFlow.Builder.BuildStep
 
build() - Method in interface com.redhat.parodos.workflows.workflow.RepeatFlow.Builder.BuildStep
 
build() - Method in interface com.redhat.parodos.workflows.workflow.SequentialFlow.Builder.ThenStep
 

C

com.redhat.parodos.workflows.engine - package com.redhat.parodos.workflows.engine
 
com.redhat.parodos.workflows.exceptions - package com.redhat.parodos.workflows.exceptions
 
com.redhat.parodos.workflows.work - package com.redhat.parodos.workflows.work
 
com.redhat.parodos.workflows.workflow - package com.redhat.parodos.workflows.workflow
 
COMPLETED - com.redhat.parodos.workflows.work.WorkStatus
The unit of work has completed successfully.
COMPLETED - Static variable in interface com.redhat.parodos.workflows.work.WorkReportPredicate
 
ConditionalFlow - Class in com.redhat.parodos.workflows.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 com.redhat.parodos.workflows.workflow
 
ConditionalFlow.Builder.BuildStep - Interface in com.redhat.parodos.workflows.workflow
 
ConditionalFlow.Builder.ExecuteStep - Interface in com.redhat.parodos.workflows.workflow
 
ConditionalFlow.Builder.NameStep - Interface in com.redhat.parodos.workflows.workflow
 
ConditionalFlow.Builder.OtherwiseStep - Interface in com.redhat.parodos.workflows.workflow
 
ConditionalFlow.Builder.ThenStep - Interface in com.redhat.parodos.workflows.workflow
 
ConditionalFlow.Builder.WhenStep - Interface in com.redhat.parodos.workflows.workflow
 

D

DefaultWorkReport - Class in com.redhat.parodos.workflows.work
Default implementation of WorkReport.
DefaultWorkReport(WorkStatus, WorkContext) - Constructor for class com.redhat.parodos.workflows.work.DefaultWorkReport
Create a new DefaultWorkReport.
DefaultWorkReport(WorkStatus, WorkContext, Throwable) - Constructor for class com.redhat.parodos.workflows.work.DefaultWorkReport
Create a new DefaultWorkReport.

E

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

F

FAILED - com.redhat.parodos.workflows.work.WorkStatus
The unit of work has failed.
FAILED - Static variable in interface com.redhat.parodos.workflows.work.WorkReportPredicate
 

G

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

I

IN_PROGRESS - com.redhat.parodos.workflows.work.WorkStatus
The unit of work still in progress (not completed).

N

named(String) - Method in interface com.redhat.parodos.workflows.workflow.ConditionalFlow.Builder.NameStep
 
named(String) - Method in interface com.redhat.parodos.workflows.workflow.ParallelFlow.Builder.NameStep
 
named(String) - Method in interface com.redhat.parodos.workflows.workflow.RepeatFlow.Builder.NameStep
 
named(String) - Method in interface com.redhat.parodos.workflows.workflow.SequentialFlow.Builder.NameStep
 
NoOpWork - Class in com.redhat.parodos.workflows.work
No operation work.
NoOpWork() - Constructor for class com.redhat.parodos.workflows.work.NoOpWork
 

O

otherwise(Work) - Method in interface com.redhat.parodos.workflows.workflow.ConditionalFlow.Builder.OtherwiseStep
 

P

ParallelFlow - Class in com.redhat.parodos.workflows.workflow
A parallel flow executes a set of work units in parallel.
ParallelFlow.Builder - Class in com.redhat.parodos.workflows.workflow
 
ParallelFlow.Builder.BuildStep - Interface in com.redhat.parodos.workflows.workflow
 
ParallelFlow.Builder.ExecuteStep - Interface in com.redhat.parodos.workflows.workflow
 
ParallelFlow.Builder.NameStep - Interface in com.redhat.parodos.workflows.workflow
 
ParallelFlow.Builder.WithStep - Interface in com.redhat.parodos.workflows.workflow
 
ParallelFlowInterruptedException - Exception in com.redhat.parodos.workflows.exceptions
The ParallelFlowInterruptedException wraps unchecked standard Java exception and enriches them with a custom error code.
ParallelFlowInterruptedException(String, Throwable) - Constructor for exception com.redhat.parodos.workflows.exceptions.ParallelFlowInterruptedException
 
ParallelFlowReport - Class in com.redhat.parodos.workflows.workflow
Aggregate report of the partial reports of work units executed in a parallel flow.
ParallelFlowReport() - Constructor for class com.redhat.parodos.workflows.workflow.ParallelFlowReport
Create a new ParallelFlowReport.
ParallelFlowReport(List<WorkReport>) - Constructor for class com.redhat.parodos.workflows.workflow.ParallelFlowReport
Create a new ParallelFlowReport.
PENDING - com.redhat.parodos.workflows.work.WorkStatus
The unit of work is pending checker.
put(String, Object) - Method in class com.redhat.parodos.workflows.work.WorkContext
 

R

REJECTED - com.redhat.parodos.workflows.work.WorkStatus
The unit of work has rejected.
repeat(Work) - Method in interface com.redhat.parodos.workflows.workflow.RepeatFlow.Builder.RepeatStep
 
RepeatFlow - Class in com.redhat.parodos.workflows.workflow
A repeat flow executes a work repeatedly until its report satisfies a given predicate.
RepeatFlow.Builder - Class in com.redhat.parodos.workflows.workflow
 
RepeatFlow.Builder.BuildStep - Interface in com.redhat.parodos.workflows.workflow
 
RepeatFlow.Builder.NameStep - Interface in com.redhat.parodos.workflows.workflow
 
RepeatFlow.Builder.RepeatStep - Interface in com.redhat.parodos.workflows.workflow
 
RepeatFlow.Builder.UntilStep - Interface in com.redhat.parodos.workflows.workflow
 
run(WorkFlow, WorkContext) - Method in interface com.redhat.parodos.workflows.engine.WorkFlowEngine
Run the given workflow and return its report.

S

SequentialFlow - Class in com.redhat.parodos.workflows.workflow
A sequential flow executes a set of work units in sequence.
SequentialFlow.Builder - Class in com.redhat.parodos.workflows.workflow
 
SequentialFlow.Builder.ExecuteStep - Interface in com.redhat.parodos.workflows.workflow
 
SequentialFlow.Builder.NameStep - Interface in com.redhat.parodos.workflows.workflow
 
SequentialFlow.Builder.ThenStep - Interface in com.redhat.parodos.workflows.workflow
 
setProperties(WorkFlowPropertiesMetadata) - Method in interface com.redhat.parodos.workflows.workflow.WorkFlow
 

T

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

U

until(WorkReportPredicate) - Method in interface com.redhat.parodos.workflows.workflow.RepeatFlow.Builder.UntilStep
 

V

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

W

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