All Downloads are FREE. Search and download functionalities are using the official Maven repository.

notice-template.en_US.macros.component.vm Maven / Gradle / Ivy

There is a newer version: 0.132.0
Show newest version
#parse ("notice-template/general-macros/tool.vm")
#set ($language = "en_US")
##
##
#macro (insertGeneralNotice $noticeParameters)
#set ($componentDefinition=$noticeParameters.component)

    #if ($noticeParameters.subcomponents.isEmpty())
        ## no subcomponents
        

The herein covered software distribution contains $escape.xml($componentDefinition.name).

#if ($componentDefinition.associatedLicenses.size() == 1)

In the present version, $escape.xml($componentDefinition.name) is restricted to the terms of $escape.xml($context.enumerate($context.getAssociatedLicenses($noticeParameters), " ", "the", $language)).

#if ($context.hasLicensingOption($noticeParameters)) #foreach ($component in $context.getComponentsWithLicenseOption($noticeParameters))

For the parts restricted to $escape.xml($context.enumerate($component.getAssociatedLicenses(), "and", "the", $language)), $escape.xml($context.enumerate($component.getEffectiveLicenses(), "and", "the", $language)) has been selected for the software distribution.

#end

Subsequently, the terms and conditions of $escape.xml($context.enumerate($context.getEffectiveLicenses($noticeParameters), "and", "the", $language)) apply for $escape.xml($componentDefinition.name).

#end #else

In the present version, $escape.xml($componentDefinition.name) is restricted to the terms of $escape.xml($context.enumerate($context.getAssociatedLicenses($noticeParameters), "and", "the", $language)).

#if ($context.hasLicensingOption($noticeParameters)) #foreach ($component in $context.getComponentsWithLicenseOption($noticeParameters))

For the parts restricted to $escape.xml($context.enumerate($component.getAssociatedLicenses(), "and", "the", $language)), $escape.xml($context.enumerate($component.getEffectiveLicenses(), "and", "the", $language)) has been selected for the software distribution.

#end

Subsequently, the terms and conditions of $escape.xml($context.enumerate($context.getEffectiveLicenses($noticeParameters), "and", "the", $language)) apply for $escape.xml($componentDefinition.name).

#end #end #else ## with subcomponents #if ($context.hasLicensingOption($noticeParameters) != true) ## subcomponents; associated and effective license are the same #if ($context.getAssociatedLicenses($noticeParameters).size() == 1)

The herein covered software distribution contains $escape.xml($componentDefinition.name) with subcomponents.

In the present version, $escape.xml($componentDefinition.name) and the included subcomponents are restricted to the terms of $escape.xml($context.enumerate($context.getAssociatedLicenses($noticeParameters), "and", "the", $language)).

#else

The herein covered software distribution contains $escape.xml($componentDefinition.name) with subcomponents.

In the present version, $escape.xml($componentDefinition.name) and the included subcomponents are restricted to the terms of $escape.xml($context.enumerate($context.getAssociatedLicenses($noticeParameters), "and", "the", $language)).

#end #else ## with subcomponents and difference in associated and effective licenses

The herein covered software distribution contains $escape.xml($componentDefinition.name) with subcomponents.

In the present version, $escape.xml($componentDefinition.name) and the included subcomponents are restricted to the terms of $escape.xml($context.enumerate($context.getAssociatedLicenses($noticeParameters), "and", "the", $language)).

#foreach ($component in $context.getComponentsWithLicenseOption($noticeParameters))

For the parts restricted to $escape.xml($context.enumerate($component.getAssociatedLicenses(), "and", "the", $language)), $escape.xml($context.enumerate($component.getEffectiveLicenses(), "and", "the", $language)) has been selected for the software distribution.

#end

Subsequently, the terms and conditions of $escape.xml($context.enumerate($context.getEffectiveLicenses($noticeParameters), "and", "the", $language)) apply for $escape.xml($componentDefinition.name) with subcomponents.

#end #end #end ## ## #macro (insertLicenseNotice $componentDefinition) #foreach ($license in $context.getEffectiveLicenses($componentDefinition)) #set ($licenseTemplateName = $context.getLicenseTemplateName($license,$engine)) $engine.executeTemplate($licenseTemplateName) #end #insertNote($componentDefinition) #end #macro (insertLicenseNoticeComponentSeparation $componentDefinition $type) #if ($type.equals("component"))

The $escape.xml($componentDefinition.name) specific parts are licensed under the terms of $escape.xml($context.enumerate($context.getEffectiveLicenses($componentDefinition), "and", "the", $language)).

#else

The $type $escape.xml($componentDefinition.name) is licensed under the terms of $escape.xml($context.enumerate($context.getEffectiveLicenses($componentDefinition), "and", "the", $language)).

#end #foreach ($license in $context.getEffectiveLicenses($componentDefinition)) #set ($licenseTemplateName = $context.getLicenseTemplateName($license,$engine)) $engine.executeTemplate($licenseTemplateName) #end #insertNote($componentDefinition) #end #macro (insertLicenseNoticeUnnamed $noticeParameters $namedComponents) #if ($context.getSelectedComponents($noticeParameters.subcomponents, $namedComponents).size() == 1)

$escape.xml($noticeParameters.component.name) contains another subcomponent, which is licensed under $escape.xml($context.enumerate($context.getEffectiveLicensesUnnamedComponents($noticeParameters.subcomponents), "and", "the", $language))

#else

$escape.xml($noticeParameters.component.name) contains further subcomponents, which are licensed under $escape.xml($context.enumerate($context.getEffectiveLicensesUnnamedComponents($noticeParameters.subcomponents), "and", "the", $language))

#end #end




© 2015 - 2025 Weber Informatics LLC | Privacy Policy