- java.lang.Object
-
- aeonics.template.Item<Action.Type>
-
- aeonics.entity.Action
-
- aeonics.entity.Flow
-
public class Flow extends Action
This entity represents a logical Flow to process data. It has its own input and output channels but it also contains otherQueue
,Action
andDestination
entities that participate to the logical flow.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Flow.Type
-
Nested classes/interfaces inherited from class aeonics.entity.Action
Action.Template
-
-
Constructor Summary
Constructors Constructor Description Flow()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.Class<? extends Flow>
category()
Returns the target entity category.protected java.util.function.Supplier<? extends Flow.Type>
defaultCreator()
Returns the default target entity creator.protected java.lang.Class<? extends Flow.Type>
defaultTarget()
Returns the default target entity type.Action.Template
template()
Returns the template to build the target entity.
-
-
-
Method Detail
-
defaultTarget
protected java.lang.Class<? extends Flow.Type> defaultTarget()
Description copied from class:Item
Returns the default target entity type. This method should be implemented by subclasses to specify the target entity type.- Overrides:
defaultTarget
in classAction
- Returns:
- the default target entity type
-
defaultCreator
protected java.util.function.Supplier<? extends Flow.Type> defaultCreator()
Description copied from class:Item
Returns the default target entity creator. This method should be implemented by subclasses to specify the entity creator.- Overrides:
defaultCreator
in classAction
- Returns:
- the default target entity creator
-
category
protected java.lang.Class<? extends Flow> category()
Description copied from class:Item
Returns the target entity category. This method should be implemented by subclasses to specify the entity category.
-
template
public Action.Template template()
Description copied from class:Item
Returns the template to build the target entity.This method should ultimately be used to provide the final entity template. Although, it may also provide a partial template that subclassed may complement.
-
-