- java.lang.Object
-
- aeonics.template.Template<Action.Type>
-
- aeonics.entity.Action.Template
-
- All Implemented Interfaces:
Documented
,Exportable
- Enclosing class:
- Action
public static class Action.Template extends Template<Action.Type>
Superclass template for actions
-
-
Constructor Summary
Constructors Constructor Description Template(java.lang.Class<? extends Action.Type> target, java.lang.Class<? extends Action> type)
-
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.Action.Template
input(Channel channel)
Adds an input channeljava.util.List<Channel>
inputs()
Returns the list of input channels for this flow itemAction.Template
output(Channel channel)
Adds an output channeljava.util.List<Channel>
outputs()
Returns the list of output channels for this flow item-
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
-
-
-
-
Constructor Detail
-
Template
public Template(java.lang.Class<? extends Action.Type> target, java.lang.Class<? extends Action> type)
-
-
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 Action.Template input(Channel channel)
Adds an input channel- 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 Action.Template output(Channel channel)
Adds an output channel- Parameters:
channel
- the channel to add- Returns:
- this
-
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<Action.Type>
- Returns:
- a public data representation of this class instance
-
-