Class ArchitectureTemplate
- java.lang.Object
-
- ru.ispras.microtesk.tools.templgen.templates.GeneratedTemplate
-
- ru.ispras.microtesk.tools.templgen.templates.ArchitectureTemplate
-
- All Implemented Interfaces:
BaseTemplate
public class ArchitectureTemplate extends GeneratedTemplate
TheArchitectureTemplate
class generates template for architecture validation.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ARCHITECTURE_TEMPLATE_NAME
-
Fields inherited from class ru.ispras.microtesk.tools.templgen.templates.GeneratedTemplate
ignoredInstructions, templateMetaModel, templatePrinter
-
-
Constructor Summary
Constructors Constructor Description ArchitectureTemplate(MetaModel metaModel, TemplatePrinter printer, java.util.Set<java.lang.String> ignoredInstructions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
extract()
Extracts the information from model for this template.boolean
generate()
Generates the template and output it in the format of the specified printer.-
Methods inherited from class ru.ispras.microtesk.tools.templgen.templates.GeneratedTemplate
sort
-
-
-
-
Field Detail
-
ARCHITECTURE_TEMPLATE_NAME
public static final java.lang.String ARCHITECTURE_TEMPLATE_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ArchitectureTemplate
public ArchitectureTemplate(MetaModel metaModel, TemplatePrinter printer, java.util.Set<java.lang.String> ignoredInstructions)
-
-
Method Detail
-
generate
public boolean generate()
Description copied from class:GeneratedTemplate
Generates the template and output it in the format of the specified printer.- Specified by:
generate
in interfaceBaseTemplate
- Specified by:
generate
in classGeneratedTemplate
-
extract
protected boolean extract()
Description copied from class:GeneratedTemplate
Extracts the information from model for this template.- Specified by:
extract
in classGeneratedTemplate
-
-