TemplateHelper
TemplateHelper is a collection of helper methods to transformi DASUs, ASCEs and IASIOs defined by templates into concrete instances.
Attributes
- Graph
- 
    
- Supertypes
- 
    class Objecttrait Matchableclass Any
- Self type
- 
    TemplateHelper.type
Members list
Value members
Concrete methods
Ensure that
Ensure that
- all the ASCEs of a DASU have the same template
- all the inputs have the same template or are not templated
- all the output have the same template templated
Templated inputs are a special case because their template can differ from that of the DASU.
Value parameters
- dasusToDep
- 
               the templated DASUs to deploy in the supervisor 
Attributes
- Returns
- 
               true if all the DASU, ASCEs and IASIOs respect the constraints of the template 
Get the non-templated DASUs to deploy from the passed set
Get the non-templated DASUs to deploy from the passed set
Value parameters
- dasusToDeploy
- 
               the set of DASUs to deploy 
Attributes
- Returns
- 
               The DASUs to deploy that have no template 
Get the templated DASUs to deploy from the passed set
Get the templated DASUs to deploy from the passed set
Value parameters
- dasusToDeploy
- 
               the set of DASUs to deploy 
Attributes
- Returns
- 
               The DASUs to deploy that have a template 
Normalize the passed ASCE by adding the templated instance inputs to the list of the standard inputs, after renaming their IDs.
Normalize the passed ASCE by adding the templated instance inputs to the list of the standard inputs, after renaming their IDs.
Note that these kind of inputs can be set also for non templated DASU
Value parameters
- asce
- 
               The ASCE to normalize the templated input instances 
Attributes
- Returns
- 
               The ASCE normalized for templated inputs instances 
Normalize the passed DASUs to deploy.
Normalize the passed DASUs to deploy.
Value parameters
- dasusToDeploy
- 
               The DASUs to deploy 
Attributes
- Returns
- 
               The DASUs with templates replaced by concrete instances 
Normalize the passed IasioDao to a IasioDao where the identifier has been replaced with the version generated from the instance of the template
Normalize the passed IasioDao to a IasioDao where the identifier has been replaced with the version generated from the instance of the template
Value parameters
- iasio
- 
               The IasioDao to whose identifier needs to be converted 
Attributes
- Returns
- 
               the converted IasioDao if the parameter was templated, the same iasio otherwise 
Concrete fields
The logger
The logger