Class Plugin

java.lang.Object
org.craftercms.commons.plugin.model.Plugin

public class Plugin extends Object
Holds the metadata for a plugin
Since:
3.1.1
Author:
joseross
  • Field Details

    • type

      protected String type
      The type of plugin
    • id

      protected String id
      The unique id of the plugin
    • name

      protected String name
      The name of the plugin
    • tags

      protected List<String> tags
      The tags of the plugin
    • version

      protected Version version
      The version of the plugin
    • description

      protected String description
      The description of the plugin
    • website

      protected Link website
      The website information of the plugin
    • media

      protected Media media
      The media assets of the plugin
    • developer

      protected Developer developer
      The developer information of the plugin
    • license

      protected Link license
      The license of the plugin
    • crafterCmsEditions

      protected List<String> crafterCmsEditions
      The supported CrafterCMS editions of the plugin
    • crafterCmsVersions

      protected List<Version> crafterCmsVersions
      The supported CrafterCMS versions of the plugin
    • searchEngine

      protected String searchEngine
      The search engine required by the plugin
    • parameters

      protected List<Parameter> parameters
      The parameters supported by the plugin
    • installation

      protected List<Installation> installation
      List of installations to perform for the plugin
    • documentation

      protected String documentation
      The URL for the documentation
  • Constructor Details

    • Plugin

      public Plugin()
  • Method Details

    • getType

      public String getType()
    • setType

      public void setType(String type)
    • getId

      public String getId()
    • setId

      public void setId(String id)
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getTags

      public List<String> getTags()
    • setTags

      public void setTags(List<String> tags)
    • getVersion

      public Version getVersion()
    • setVersion

      public void setVersion(Version version)
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • getWebsite

      public Link getWebsite()
    • setWebsite

      public void setWebsite(Link website)
    • getMedia

      public Media getMedia()
    • setMedia

      public void setMedia(Media media)
    • getDeveloper

      public Developer getDeveloper()
    • setDeveloper

      public void setDeveloper(Developer developer)
    • getLicense

      public Link getLicense()
    • setLicense

      public void setLicense(Link link)
    • getCrafterCmsEditions

      public List<String> getCrafterCmsEditions()
    • setCrafterCmsEditions

      public void setCrafterCmsEditions(List<String> crafterCmsEditions)
    • getCrafterCmsVersions

      public List<Version> getCrafterCmsVersions()
    • setCrafterCmsVersions

      public void setCrafterCmsVersions(List<Version> crafterCmsVersions)
    • getSearchEngine

      public String getSearchEngine()
    • setSearchEngine

      public void setSearchEngine(String searchEngine)
    • getParameters

      public List<Parameter> getParameters()
    • setParameters

      public void setParameters(List<Parameter> parameters)
    • getInstallation

      public List<Installation> getInstallation()
    • setInstallation

      public void setInstallation(List<Installation> installation)
    • getDocumentation

      public String getDocumentation()
    • setDocumentation

      public void setDocumentation(String documentation)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object