META-INF.templates.profile-unit-reference.html.vt Maven / Gradle / Ivy
#htmlStart($profile.getId(), '..')
#rootContainerStart($generator.getPackageId(), '..', 'profile-unit-reference')
Profile - $profile.getId()
Unit Reference
#foreach($unit in $generator.sortUnits($profile.getUnits(true)))
#panelStart($unit.getId(), 'Unit', $unit.getId())
$generator.getDescription($unit, $profile)
#if ($unit.getParentId())
Extends template unit: #hrefUnitId($unit.getParentId()).
#end
#if ($unit.getRequiredCapabilities().size() > 0)
Required Capabilities
Capability Id
Capability Definition Id
Capability Definition Description
Optional
#foreach($cap in $generator.sortCapabilities($unit.getRequiredCapabilities()))
#hrefCapability($cap)
#hrefCapabilityDefinition($cap.getCapabilityDefinition())
$cap.getCapabilityDefinition().getDescription()
$cap.isOptional()
#end
#end
#if ($unit.getProvidedCapabilities().size() > 0)
Provided Capabilities
Capability Id
Capability Definition Id
Capability Definition Description
#foreach($cap in $generator.sortCapabilities($unit.getProvidedCapabilities()))
#hrefCapability($cap)
#hrefCapabilityDefinition($cap.getCapabilityDefinition())
$cap.getCapabilityDefinition().getDescription()
#end
#end
#if ($unit.getAttributes().size() > 0)
Attributes
Attribute Key
Value
Description
#if (!$unit.isAbstract())
Overwritable Property
#end
Origin
#set ($separator_dot=".")
#foreach($attribute in $generator.sortAttributes($unit.getAttributes()))
#handleNonBreakableText($attribute.getKey())
#handleNonBreakableText($generator.getAttributeValue($profile, $unit, $attribute))
#if (!$unit.isAbstract())
#else
#end
#handleText($attribute.getDescription())
#if (!$unit.isAbstract())
#set ($text = $unit.getId() + $separator_dot + $attribute.getKey())
#handleNonBreakableText($text)
#end
#hrefOrigin($attribute.getOrigin())
#end
#end
#panelEnd
#end
#rootContainerEnd($generator.getPackageId(), '..', 'profile-unit-reference')
#footer