org.apache.creadur.whisker.out.velocity
public class RenderingHelper extends Object
Constructor and Description |
---|
RenderingHelper(Descriptor work,
Configuration configuration)
Constructs a helper for the given work.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isNot(boolean claim)
Negates claim.
|
boolean |
renderResources(ByOrganisation organisation,
WithLicense license)
Should resources with the given license by
the given organisation be rendered?
|
String |
sourceUrl(Resource resource)
Renders the resource source URL
based on configuration setting suitable
for the license file.
|
public RenderingHelper(Descriptor work, Configuration configuration)
work
- not nullpublic boolean renderResources(ByOrganisation organisation, WithLicense license)
organisation
- not nulllicense
- not nullpublic boolean isNot(boolean claim)
claim
- to be negatedCopyright © 2011-2013 Apache Software Foundation. All Rights Reserved.