Class DescriptorBuilderForTesting

java.lang.Object
org.apache.creadur.whisker.out.velocity.DescriptorBuilderForTesting

public class DescriptorBuilderForTesting extends Object
  • Field Details

    • sourceUrl

      public String sourceUrl
  • Constructor Details

    • DescriptorBuilderForTesting

      public DescriptorBuilderForTesting()
  • Method Details

    • withPrimaryLicenseAndOrgInDirectory

      public DescriptorBuilderForTesting withPrimaryLicenseAndOrgInDirectory(String directoryName)
    • withPrimaryLicenseAndThirdPartyOrgInDirectory

      public DescriptorBuilderForTesting withPrimaryLicenseAndThirdPartyOrgInDirectory(String directoryName)
    • primaryOrganisation

      public org.apache.creadur.whisker.model.Organisation primaryOrganisation()
    • build

      public org.apache.creadur.whisker.model.Descriptor build()
    • getResourceName

      public String getResourceName()
    • getSecondaryCopyright

      public String getSecondaryCopyright()
    • getPrimaryOrgName

      public String getPrimaryOrgName()
    • getThirdPartyOrg

      public org.apache.creadur.whisker.model.Organisation getThirdPartyOrg()
    • getPrimaryLicense

      public org.apache.creadur.whisker.model.License getPrimaryLicense()
    • getPrimaryLicenseText

      public String getPrimaryLicenseText()
    • addDirectory

      public void addDirectory(org.apache.creadur.whisker.model.License license, org.apache.creadur.whisker.model.Organisation org, String directoryName)
    • withPrimaryCopyrightNotice

      public DescriptorBuilderForTesting withPrimaryCopyrightNotice()
    • withPrimaryCopyrightNotice

      public DescriptorBuilderForTesting withPrimaryCopyrightNotice(String primaryCopyrightNotice)
    • withSecondaryLicensePrimaryOrganisationInDirectory

      public DescriptorBuilderForTesting withSecondaryLicensePrimaryOrganisationInDirectory(String directoryName)
    • withSecondaryCopyrightNotice

      public DescriptorBuilderForTesting withSecondaryCopyrightNotice()
    • withSecondaryCopyrightNotice

      public DescriptorBuilderForTesting withSecondaryCopyrightNotice(String secondaryCopyright)
    • withSourceURL

      public DescriptorBuilderForTesting withSourceURL()