Class GroupTemplate
- java.lang.Object
-
- ru.ispras.microtesk.tools.templgen.templates.GeneratedTemplate
-
- ru.ispras.microtesk.tools.templgen.templates.GroupTemplate
-
- All Implemented Interfaces:
BaseTemplate
public final class GroupTemplate extends GeneratedTemplate
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
GROUP_TEMPLATE_NAME
-
Fields inherited from class ru.ispras.microtesk.tools.templgen.templates.GeneratedTemplate
ignoredInstructions, templateMetaModel, templatePrinter
-
-
Constructor Summary
Constructors Constructor Description GroupTemplate(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
-
GROUP_TEMPLATE_NAME
public static final java.lang.String GROUP_TEMPLATE_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
GroupTemplate
public GroupTemplate(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
- Returns:
- true if success
-
-