Index

A B C D E F G H I L N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

AbstractStep<T> - Class in org.sterl.pmw.model
 
AbstractStep() - Constructor for class org.sterl.pmw.model.AbstractStep
 
AbstractStepFactory<F,C,T> - Class in org.sterl.pmw.model
 
AbstractStepFactory(C) - Constructor for class org.sterl.pmw.model.AbstractStepFactory
 
AbstractWorkflowService<RegistryType> - Class in org.sterl.pmw
 
AbstractWorkflowService() - Constructor for class org.sterl.pmw.AbstractWorkflowService
 
accept(T) - Method in class org.sterl.pmw.spring.component.WorkflowStepComponent
 
addCommand(TriggerWorkflowCommand<R>) - Method in interface org.sterl.pmw.model.WorkflowContext
This method shouldn't be directly called, use the trigger factory method of the workflow builder.
addCommand(TriggerWorkflowCommand<R>) - Method in class org.sterl.pmw.spring.component.WorkflowStepComponent.SimpleWorkflowContext
 
appendLine(String) - Method in class org.sterl.pmw.uml.PlantUmlDiagram
 
appendState(String) - Method in class org.sterl.pmw.uml.PlantUmlDiagram
 
appendState(String, String) - Method in class org.sterl.pmw.uml.PlantUmlDiagram
 
appendWaitState(String, String) - Method in class org.sterl.pmw.uml.PlantUmlDiagram
 
apply(WorkflowContext<T>) - Method in class org.sterl.pmw.model.ChooseStep
 
apply(WorkflowContext<T>) - Method in class org.sterl.pmw.model.SequentialStep
 
apply(WorkflowContext<T>) - Method in class org.sterl.pmw.model.TriggerWorkflowStep
 
apply(WorkflowContext<T>) - Method in class org.sterl.pmw.model.WaitStep
 
apply(WorkflowContext<T>) - Method in interface org.sterl.pmw.model.WorkflowStep
 
apply(StateType) - Method in interface org.sterl.pmw.model.WorkflowChooseFunction
 

B

build() - Method in class org.sterl.pmw.model.ChooseFactory
 
build() - Method in class org.sterl.pmw.model.SequentialStepFactory
 
build() - Method in class org.sterl.pmw.model.TriggerWorkflowStepFactory
 
build() - Method in class org.sterl.pmw.model.WorkflowFactory
 
build() - Method in class org.sterl.pmw.uml.PlantUmlDiagram
 
builder(String, Supplier<T>) - Static method in class org.sterl.pmw.model.Workflow
 

C

cancel(WorkflowId) - Method in class org.sterl.pmw.spring.PersistentWorkflowService
 
cancel(WorkflowId) - Method in interface org.sterl.pmw.WorkflowService
 
cancelWorkflow() - Method in interface org.sterl.pmw.model.WorkflowContext
Complete and commit the current step but cancel any other steps.
cancelWorkflow() - Method in class org.sterl.pmw.spring.component.WorkflowStepComponent.SimpleWorkflowContext
 
choose() - Method in class org.sterl.pmw.model.WorkflowFactory
Allows to select multiple different named steps by returning the name of the step to execute.
choose(String, WorkflowChooseFunction<T>) - Method in class org.sterl.pmw.model.WorkflowFactory
Allows to select multiple different named steps by returning the name of the step to execute.
choose(WorkflowChooseFunction<T>) - Method in class org.sterl.pmw.model.WorkflowFactory
Allows to select multiple different named steps by returning the name of the step to execute.
ChooseFactory<C,T> - Class in org.sterl.pmw.model
Allows the selection of an task.
ChooseFactory(C) - Constructor for class org.sterl.pmw.model.ChooseFactory
 
chooseFn(WorkflowChooseFunction<T>) - Method in class org.sterl.pmw.model.ChooseFactory
 
ChooseStep<T> - Class in org.sterl.pmw.model
 
clear() - Method in class org.sterl.pmw.component.WorkflowRepository
 
clearAllWorkflows() - Method in class org.sterl.pmw.AbstractWorkflowService
 
clearAllWorkflows() - Method in class org.sterl.pmw.spring.PersistentWorkflowService
 
clearAllWorkflows() - Method in interface org.sterl.pmw.WorkflowService
Clear all running and registered workflows, mainly used in tests
connectorLabel - Variable in class org.sterl.pmw.model.AbstractStep
 
connectorLabel - Variable in class org.sterl.pmw.model.AbstractStepFactory
 
connectorLabel(String) - Method in class org.sterl.pmw.model.AbstractStepFactory
 
context - Variable in class org.sterl.pmw.model.AbstractStepFactory
 
convertAsPlantUmlSvg(String, OutputStream) - Method in class org.sterl.pmw.WorkflowUmlService
 

D

data() - Method in interface org.sterl.pmw.model.WorkflowContext
 
data() - Method in class org.sterl.pmw.spring.component.WorkflowStepComponent.SimpleWorkflowContext
 
delay() - Method in record class org.sterl.pmw.command.TriggerWorkflowCommand
Returns the value of the delay record component.
delay(Duration) - Method in class org.sterl.pmw.model.TriggerWorkflowStepFactory
 
delayNextStepBy(Duration) - Method in interface org.sterl.pmw.model.WorkflowContext
This method shouldn't be directly called, use the sleep factory method of the workflow builder.
delayNextStepBy(Duration) - Method in class org.sterl.pmw.spring.component.WorkflowStepComponent.SimpleWorkflowContext
 
description - Variable in class org.sterl.pmw.model.AbstractStep
 
description - Variable in class org.sterl.pmw.model.AbstractStepFactory
 
description(String) - Method in class org.sterl.pmw.model.AbstractStepFactory
 
draw(WorkflowStep<?>) - Method in class org.sterl.pmw.uml.DrawWorkflowStepToUml
 
DrawWorkflowStepToUml - Class in org.sterl.pmw.uml
 
DrawWorkflowStepToUml() - Constructor for class org.sterl.pmw.uml.DrawWorkflowStepToUml
 

E

EnableWorkflows - Annotation Interface in org.sterl.pmw
 
endSwitch() - Method in class org.sterl.pmw.uml.PlantUmlDiagram
 
equals(Object) - Method in record class org.sterl.pmw.api.WorkflowDiagram
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.sterl.pmw.command.TriggerWorkflowCommand
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.sterl.pmw.model.WorkflowId
Indicates whether some other object is "equal to" this one.
execute(String) - Method in class org.sterl.pmw.AbstractWorkflowService
 
execute(String) - Method in interface org.sterl.pmw.WorkflowService
 
execute(String, Serializable) - Method in class org.sterl.pmw.AbstractWorkflowService
 
execute(String, Serializable) - Method in interface org.sterl.pmw.WorkflowService
 
execute(String, Serializable, Duration) - Method in class org.sterl.pmw.AbstractWorkflowService
 
execute(String, Serializable, Duration) - Method in interface org.sterl.pmw.WorkflowService
 
execute(Workflow<T>) - Method in class org.sterl.pmw.AbstractWorkflowService
 
execute(Workflow<T>) - Method in interface org.sterl.pmw.WorkflowService
 
execute(Workflow<T>, T) - Method in class org.sterl.pmw.AbstractWorkflowService
 
execute(Workflow<T>, T) - Method in interface org.sterl.pmw.WorkflowService
 
execute(Workflow<T>, T, Duration) - Method in class org.sterl.pmw.spring.PersistentWorkflowService
 
execute(Workflow<T>, T, Duration) - Method in interface org.sterl.pmw.WorkflowService
 
executionCount() - Method in interface org.sterl.pmw.model.WorkflowContext
 
executionCount() - Method in class org.sterl.pmw.spring.component.WorkflowStepComponent.SimpleWorkflowContext
 

F

findWorkflow(String) - Method in class org.sterl.pmw.component.WorkflowRepository
 
function(Function<T, R>) - Method in class org.sterl.pmw.model.TriggerWorkflowStepFactory
 
function(WorkflowFunction<T>) - Method in class org.sterl.pmw.model.SequentialStepFactory
 

G

getConnectorLabel() - Method in interface org.sterl.pmw.model.WorkflowStep
Optional label for the connector leading to this step, just for readability
getDescription() - Method in interface org.sterl.pmw.model.WorkflowStep
 
getId() - Method in interface org.sterl.pmw.model.WorkflowStep
Unique ID of this step in case of updates to the workflow this Id should not change.
getNextStep(WorkflowStep<T>) - Method in class org.sterl.pmw.model.Workflow
 
getStepByPosition(int) - Method in class org.sterl.pmw.model.Workflow
 
getStepCount() - Method in class org.sterl.pmw.model.Workflow
 
getSteps() - Method in class org.sterl.pmw.model.Workflow
 
getSubSteps() - Method in class org.sterl.pmw.model.ChooseStep
 
getWorkflow(String) - Method in class org.sterl.pmw.component.WorkflowRepository
 
getWorkflowNames() - Method in class org.sterl.pmw.component.WorkflowRepository
 

H

hashCode() - Method in record class org.sterl.pmw.api.WorkflowDiagram
Returns a hash code value for this object.
hashCode() - Method in record class org.sterl.pmw.command.TriggerWorkflowCommand
Returns a hash code value for this object.
hashCode() - Method in record class org.sterl.pmw.model.WorkflowId
Returns a hash code value for this object.
hasWorkflows() - Method in class org.sterl.pmw.component.WorkflowRepository
 
health() - Method in class org.sterl.pmw.spring.config.RepositoryHealth
 

I

id - Variable in class org.sterl.pmw.model.AbstractStep
 
id - Variable in class org.sterl.pmw.model.AbstractStepFactory
 
id() - Method in record class org.sterl.pmw.api.WorkflowDiagram
Returns the value of the id record component.
id(String) - Method in class org.sterl.pmw.model.AbstractStepFactory
 
ifSelected() - Method in class org.sterl.pmw.model.ChooseFactory
 
ifSelected(String) - Method in class org.sterl.pmw.model.ChooseFactory
 
ifSelected(String, WorkflowFunction<T>) - Method in class org.sterl.pmw.model.ChooseFactory
 
ifTrigger(String, Workflow<SubT>) - Method in class org.sterl.pmw.model.ChooseFactory
 
ifTrigger(String, Workflow<SubT>, Function<T, SubT>) - Method in class org.sterl.pmw.model.ChooseFactory
 
intend() - Method in class org.sterl.pmw.uml.PlantUmlDiagram
 

L

labeledConnector(String) - Method in class org.sterl.pmw.uml.PlantUmlDiagram
 
line(String) - Method in class org.sterl.pmw.uml.PlantUmlDiagram
 
listWorkflows() - Method in class org.sterl.pmw.AbstractWorkflowService
 
listWorkflows() - Method in interface org.sterl.pmw.WorkflowService
 

N

newContext() - Method in class org.sterl.pmw.model.Workflow
 
newWorkflowId(Workflow<?>) - Static method in record class org.sterl.pmw.model.WorkflowId
 
next() - Method in class org.sterl.pmw.model.WorkflowFactory
 
next(String, WorkflowFunction<T>) - Method in class org.sterl.pmw.model.WorkflowFactory
 
next(String, WorkflowStep<T>) - Method in class org.sterl.pmw.model.StepContainer
 
next(WorkflowFunction<T>) - Method in class org.sterl.pmw.model.WorkflowFactory
 
next(WorkflowStep<T>) - Method in class org.sterl.pmw.model.ChooseFactory
 
next(WorkflowStep<T>) - Method in class org.sterl.pmw.model.StepContainer
 
next(WorkflowStep<T>) - Method in interface org.sterl.pmw.model.StepHolder
 
next(WorkflowStep<T>) - Method in class org.sterl.pmw.model.WorkflowFactory
 
nextStepId() - Method in class org.sterl.pmw.model.ChooseFactory
 
nextStepId() - Method in interface org.sterl.pmw.model.StepHolder
 
nextStepId() - Method in class org.sterl.pmw.model.WorkflowFactory
 

O

org.sterl.pmw - package org.sterl.pmw
 
org.sterl.pmw.api - package org.sterl.pmw.api
 
org.sterl.pmw.command - package org.sterl.pmw.command
 
org.sterl.pmw.component - package org.sterl.pmw.component
 
org.sterl.pmw.exception - package org.sterl.pmw.exception
 
org.sterl.pmw.model - package org.sterl.pmw.model
 
org.sterl.pmw.spring - package org.sterl.pmw.spring
 
org.sterl.pmw.spring.api - package org.sterl.pmw.spring.api
 
org.sterl.pmw.spring.component - package org.sterl.pmw.spring.component
 
org.sterl.pmw.spring.config - package org.sterl.pmw.spring.config
 
org.sterl.pmw.uml - package org.sterl.pmw.uml
 

P

PersistentWorkflowService - Class in org.sterl.pmw.spring
 
PersistentWorkflowService(PersistentTaskService, TriggerService, TaskService, WorkflowRepository) - Constructor for class org.sterl.pmw.spring.PersistentWorkflowService
 
plantUml() - Method in record class org.sterl.pmw.api.WorkflowDiagram
Returns the value of the plantUml record component.
PlantUmlDiagram - Class in org.sterl.pmw.uml
 
PlantUmlDiagram(String) - Constructor for class org.sterl.pmw.uml.PlantUmlDiagram
 
PlantUmlDiagram(String, String) - Constructor for class org.sterl.pmw.uml.PlantUmlDiagram
 
PlantUmlWritter - Class in org.sterl.pmw.uml
 
PlantUmlWritter() - Constructor for class org.sterl.pmw.uml.PlantUmlWritter
 
printWorkflow(String) - Method in class org.sterl.pmw.WorkflowUmlService
 
printWorkflow(Workflow<?>) - Method in class org.sterl.pmw.WorkflowUmlService
 
printWorkflowAsPlantUmlSvg(String, OutputStream) - Method in class org.sterl.pmw.WorkflowUmlService
 
printWorkflowAsPlantUmlSvg(Workflow<?>, OutputStream) - Method in class org.sterl.pmw.WorkflowUmlService
 

R

register(Workflow<T>) - Method in class org.sterl.pmw.component.WorkflowRepository
 
register(Workflow<T>) - Method in class org.sterl.pmw.spring.PersistentWorkflowService
 
register(Workflow<T>) - Method in interface org.sterl.pmw.WorkflowService
Should register a new workflow or throw an exception if the workflow is already known.
registerUnique(Workflow<T>) - Method in class org.sterl.pmw.component.WorkflowRepository
 
RepositoryHealth - Class in org.sterl.pmw.spring.config
 
RepositoryHealth() - Constructor for class org.sterl.pmw.spring.config.RepositoryHealth
 
retryStrategy() - Method in class org.sterl.pmw.spring.component.WorkflowStepComponent
 

S

SequentialStep<T> - Class in org.sterl.pmw.model
 
SequentialStepFactory<C,T> - Class in org.sterl.pmw.model
 
SequentialStepFactory(C) - Constructor for class org.sterl.pmw.model.SequentialStepFactory
 
SimpleWorkflowContext() - Constructor for class org.sterl.pmw.spring.component.WorkflowStepComponent.SimpleWorkflowContext
 
sleep(String, String, Function<T, Duration>) - Method in class org.sterl.pmw.model.WorkflowFactory
 
sleep(String, Duration) - Method in class org.sterl.pmw.model.WorkflowFactory
 
sleep(String, Function<T, Duration>) - Method in class org.sterl.pmw.model.WorkflowFactory
 
sleep(Duration) - Method in class org.sterl.pmw.model.WorkflowFactory
 
sleep(Function<T, Duration>) - Method in class org.sterl.pmw.model.WorkflowFactory
 
SPLIT - Static variable in class org.sterl.pmw.spring.component.WorkflowHelper
 
start() - Method in class org.sterl.pmw.uml.PlantUmlDiagram
 
startCase() - Method in class org.sterl.pmw.uml.PlantUmlDiagram
 
startCase(String) - Method in class org.sterl.pmw.uml.PlantUmlDiagram
 
startSwitch(String) - Method in class org.sterl.pmw.uml.PlantUmlDiagram
 
state() - Method in record class org.sterl.pmw.command.TriggerWorkflowCommand
Returns the value of the state record component.
status(WorkflowId) - Method in class org.sterl.pmw.spring.PersistentWorkflowService
 
status(WorkflowId) - Method in interface org.sterl.pmw.WorkflowService
 
StepContainer<T> - Class in org.sterl.pmw.model
 
StepContainer() - Constructor for class org.sterl.pmw.model.StepContainer
 
StepHolder<T> - Interface in org.sterl.pmw.model
 
stepName(Workflow<?>, WorkflowStep<?>) - Static method in class org.sterl.pmw.spring.component.WorkflowHelper
 
stepRetryStrategy(RetryStrategy) - Method in class org.sterl.pmw.model.WorkflowFactory
 
steps() - Method in class org.sterl.pmw.model.ChooseFactory
 
steps() - Method in interface org.sterl.pmw.model.StepHolder
 
steps() - Method in class org.sterl.pmw.model.WorkflowFactory
 
stop() - Method in class org.sterl.pmw.uml.PlantUmlDiagram
 
stopCase() - Method in class org.sterl.pmw.uml.PlantUmlDiagram
 
stopIntend() - Method in class org.sterl.pmw.uml.PlantUmlDiagram
 
svgBase64() - Method in record class org.sterl.pmw.api.WorkflowDiagram
Returns the value of the svgBase64 record component.

T

toString() - Method in record class org.sterl.pmw.api.WorkflowDiagram
Returns a string representation of this record class.
toString() - Method in record class org.sterl.pmw.command.TriggerWorkflowCommand
Returns a string representation of this record class.
toString() - Method in class org.sterl.pmw.model.AbstractStep
 
toString() - Method in class org.sterl.pmw.model.Workflow
 
toString() - Method in record class org.sterl.pmw.model.WorkflowId
Returns a string representation of this record class.
trigger(Workflow<TS>) - Method in class org.sterl.pmw.model.WorkflowFactory
 
trigger(Workflow<TS>, Function<T, TS>) - Method in class org.sterl.pmw.model.WorkflowFactory
 
TriggerWorkflowCommand<T> - Record Class in org.sterl.pmw.command
 
TriggerWorkflowCommand(Workflow<T>, T, Duration) - Constructor for record class org.sterl.pmw.command.TriggerWorkflowCommand
Creates an instance of a TriggerWorkflowCommand record class.
TriggerWorkflowStep<T,SubWorkflowState> - Class in org.sterl.pmw.model
 
TriggerWorkflowStepFactory<C,T,R> - Class in org.sterl.pmw.model
 
TriggerWorkflowStepFactory(C, Workflow<R>) - Constructor for class org.sterl.pmw.model.TriggerWorkflowStepFactory
 

U

useId(String) - Method in class org.sterl.pmw.model.StepContainer
Locks an ID for this step collection
useId(String) - Method in class org.sterl.pmw.model.WorkflowFactory
 

V

value() - Method in record class org.sterl.pmw.model.WorkflowId
Returns the value of the value record component.

W

WaitStep<T> - Class in org.sterl.pmw.model
 
workflow() - Method in record class org.sterl.pmw.command.TriggerWorkflowCommand
Returns the value of the workflow record component.
Workflow<T> - Class in org.sterl.pmw.model
 
Workflow(String, Supplier<T>) - Constructor for class org.sterl.pmw.model.Workflow
 
WorkflowChooseFunction<StateType> - Interface in org.sterl.pmw.model
 
WorkflowConfig - Class in org.sterl.pmw.spring.config
 
WorkflowConfig() - Constructor for class org.sterl.pmw.spring.config.WorkflowConfig
 
WorkflowContext<T> - Interface in org.sterl.pmw.model
Context of the given workflow, which allows e.g.
workflowCount() - Method in class org.sterl.pmw.AbstractWorkflowService
 
workflowCount() - Method in class org.sterl.pmw.component.WorkflowRepository
 
workflowCount() - Method in interface org.sterl.pmw.WorkflowService
Count of known workflows
WorkflowDiagram - Record Class in org.sterl.pmw.api
 
WorkflowDiagram(String, String, String) - Constructor for record class org.sterl.pmw.api.WorkflowDiagram
Creates an instance of a WorkflowDiagram record class.
WorkflowException - Exception Class in org.sterl.pmw.exception
 
WorkflowException(Workflow<?>, WorkflowStep<?>, Exception) - Constructor for exception class org.sterl.pmw.exception.WorkflowException
 
WorkflowException.WorkflowFailedDoRetryException - Exception Class in org.sterl.pmw.exception
 
WorkflowException.WorkflowFailedNoRetryException - Exception Class in org.sterl.pmw.exception
 
WorkflowFactory<T> - Class in org.sterl.pmw.model
 
WorkflowFailedDoRetryException(Workflow<?>, WorkflowStep<?>, Exception, int) - Constructor for exception class org.sterl.pmw.exception.WorkflowException.WorkflowFailedDoRetryException
 
WorkflowFailedNoRetryException(Workflow<?>, WorkflowStep<?>, Exception, int) - Constructor for exception class org.sterl.pmw.exception.WorkflowException.WorkflowFailedNoRetryException
 
WorkflowFunction<T> - Interface in org.sterl.pmw.model
 
WorkflowHelper - Class in org.sterl.pmw.spring.component
 
WorkflowHelper() - Constructor for class org.sterl.pmw.spring.component.WorkflowHelper
 
WorkflowId - Record Class in org.sterl.pmw.model
 
WorkflowId(String) - Constructor for record class org.sterl.pmw.model.WorkflowId
Creates an instance of a WorkflowId record class.
workflowRepository - Variable in class org.sterl.pmw.AbstractWorkflowService
 
WorkflowRepository - Class in org.sterl.pmw.component
 
WorkflowRepository() - Constructor for class org.sterl.pmw.component.WorkflowRepository
 
WorkflowResource - Class in org.sterl.pmw.spring.api
 
WorkflowResource() - Constructor for class org.sterl.pmw.spring.api.WorkflowResource
 
WorkflowService<RegistryType> - Interface in org.sterl.pmw
 
WorkflowStep<T> - Interface in org.sterl.pmw.model
 
WorkflowStepComponent<T> - Class in org.sterl.pmw.spring.component
 
WorkflowStepComponent() - Constructor for class org.sterl.pmw.spring.component.WorkflowStepComponent
 
WorkflowStepComponent.SimpleWorkflowContext<T> - Class in org.sterl.pmw.spring.component
 
WorkflowUmlService - Class in org.sterl.pmw
 
WorkflowUmlService() - Constructor for class org.sterl.pmw.WorkflowUmlService
 
writeAsPlantUmlSvg(String, String, WorkflowUmlService) - Static method in class org.sterl.pmw.uml.PlantUmlWritter
 
writeAsPlantUmlSvg(String, Workflow<? extends Serializable>) - Static method in class org.sterl.pmw.uml.PlantUmlWritter
 
A B C D E F G H I L N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form