META-INF.templates.profile-capabilities.html.vt Maven / Gradle / Ivy
#htmlStart($generator.getPackageId(), '..')
#rootContainerStart($generator.getPackageId(), '..', 'profile-capabilities')
Profile - $profile.getId()
Capability Reference
#foreach($unit in $generator.sortUnits($profile.getUnits(true)))
#foreach($cap in $generator.sortCapabilities($unit.getRequiredCapabilities()))
#panelStart($cap.getUniqueId(), 'Required Capability', $cap.getUniqueId())
#handleText($cap.getCapabilityDefinition().getDescription())
Based on capability definition: #hrefCapabilityDefinition($cap.getCapabilityDefinition()).
Attributes
Attribute
Description
Value / Default
#foreach($attribute in $generator.sortAttributeKeys($cap.getCapabilityDefinition().getAttributeKeys()))
#handleNonBreakableText($attribute.getKey())
#handleText($attribute.getDescription())
#handleNonBreakableText($generator.getAttributeValueOrDefault($profile, $cap, $attribute))
#end
#panelEnd
#end
#set ($separator_dot=".")
#foreach($cap in $generator.sortCapabilities($unit.getProvidedCapabilities()))
#panelStart($cap.getUniqueId(), 'Provided Capability', $cap.getUniqueId())
#handleText($cap.getCapabilityDefinition().getDescription())
Based on capability definition: #hrefCapabilityDefinition($cap.getCapabilityDefinition()).
Attributes
Attribute
Description
Value / Default
#if (!$unit.isAbstract())
Overwritable Property
#end
#foreach($attribute in $generator.sortAttributeKeys($cap.getCapabilityDefinition().getAttributeKeys()))
#handleNonBreakableText($attribute.getKey())
#handleText($attribute.getDescription())
#if (!$unit.isAbstract())
#else
#end
#handleNonBreakableText($generator.getAttributeValueOrDefault($profile, $cap, $attribute))
#if (!$unit.isAbstract())
#set($text = $cap.getUniqueId() + $separator_dot + $attribute.getKey())
#handleNonBreakableText($text)
#end
#end
#panelEnd
#end
#end
#footer
#rootContainerEnd($generator.getPackageId(), '..', 'profile-capabilities')
#htmlEnd
© 2015 - 2024 Weber Informatics LLC | Privacy Policy