- java.lang.Object
-
- aeonics.template.Template<Origin.Type>
-
- aeonics.entity.Origin.Template
-
- All Implemented Interfaces:
Documented
,Exportable
- Enclosing class:
- Origin
public static class Origin.Template extends Template<Origin.Type>
Superclass template for actions
-
-
Constructor Summary
Constructors Constructor Description Template(java.lang.Class<? extends Origin.Type> target, java.lang.Class<? extends Origin> 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.Origin.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 Origin.Type> target, java.lang.Class<? extends Origin> type)
-
-
Method Detail
-
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 Origin.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<Origin.Type>
- Returns:
- a public data representation of this class instance
-
-