Class ProjectInfo

Direct Known Subclasses:
JCommonInfo, JCommonXMLInfo

public class ProjectInfo extends BootableProjectInfo
A class for recording the basic information about a free or open source software project.
  • Field Details

    • licenceText

      private String licenceText
      The licence text.
    • contributors

      private List contributors
      A list of contributors.
  • Constructor Details

    • ProjectInfo

      public ProjectInfo()
      Constructs an empty project info object.
    • ProjectInfo

      public ProjectInfo(String name, String version, String info, Image logo, String copyright, String licenceName, String licenceText)
      Constructs a project info object.
      Parameters:
      name - the name of the project.
      version - the version.
      info - other info (usually a URL).
      logo - the project logo.
      copyright - a copyright statement.
      licenceName - the name of the licence that applies to the project.
      licenceText - the text of the licence that applies to the project.
  • Method Details

    • getLogo

      public Image getLogo()
      Returns the logo.
      Returns:
      the project logo.
    • setLogo

      public void setLogo(Image logo)
      Sets the project logo.
      Parameters:
      logo - the project logo.
    • getLicenceText

      public String getLicenceText()
      Returns the licence text.
      Returns:
      the licence text.
    • setLicenceText

      public void setLicenceText(String licenceText)
      Sets the project licence text.
      Parameters:
      licenceText - the licence text.
    • getContributors

      public List getContributors()
      Returns the list of contributors for the project.
      Returns:
      the list of contributors.
    • setContributors

      public void setContributors(List contributors)
      Sets the list of contributors.
      Parameters:
      contributors - the list of contributors.
    • toString

      public String toString()
      Returns a string describing the project.
      Overrides:
      toString in class Object
      Returns:
      a string describing the project.