- java.lang.Object
-
- aeonics.template.Template<Step.Type>
-
- aeonics.entity.Step.Template
-
- All Implemented Interfaces:
Documented
,Exportable
- Enclosing class:
- Step
public static class Step.Template extends Template<Step.Type>
Template for all step entities
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Data
export()
Renders this class instance to a simple data structure for rendering client-side.java.lang.String
icon()
Returns the name of the icon used to render this step visually.<T extends Step.Template>
Ticon(java.lang.String value)
Sets the name of the icon used to render this step visually.<T extends Step.Template>
Tinput(Channel channel)
Adds an input channeljava.util.List<Channel>
inputs()
Returns the list of input channels for this flow item<T extends Step.Template>
Toutput(Channel channel)
Adds an output channeljava.util.List<Channel>
outputs()
Returns the list of output channels for this flow itemStep.ROLE
role()
Returns the role of this step in the flow.-
Methods inherited from class aeonics.template.Template
add, add, cast, category, category, category, config, config, config, config, config, create, create, creator, description, description, enforceParameterValidation, enforceParameterValidation, name, onCreate, onUpdate, removeParameter, removeRelationship, summary, summary, target, target, type, type, update
-
-
-
-
Method Detail
-
inputs
public java.util.List<Channel> inputs()
Returns the list of input channels for this flow item- Returns:
- the list of input channels for this flow item
-
input
public <T extends Step.Template> T input(Channel channel)
Adds an input channel- Type Parameters:
T
- this type- Parameters:
channel
- the channel to add- Returns:
- this
-
outputs
public java.util.List<Channel> outputs()
Returns the list of output channels for this flow item- Returns:
- the list of output channels for this flow item
-
output
public <T extends Step.Template> T output(Channel channel)
Adds an output channel- Type Parameters:
T
- this type- Parameters:
channel
- the channel to add- Returns:
- this
-
icon
public java.lang.String icon()
Returns the name of the icon used to render this step visually.- Returns:
- the icon name
-
icon
public <T extends Step.Template> T icon(java.lang.String value)
Sets the name of the icon used to render this step visually.- Type Parameters:
T
- the template type- Parameters:
value
- the icon- Returns:
- this
-
role
public Step.ROLE role()
Returns the role of this step in the flow.- Returns:
- the role of this step in the flow
-
export
public Data export()
Description copied from interface:Exportable
Renders this class instance to a simple data structure for rendering client-side.- Specified by:
export
in interfaceDocumented
- Specified by:
export
in interfaceExportable
- Overrides:
export
in classTemplate<Step.Type>
- Returns:
- a public data representation of this class instance
-
-