Package org.sonar.updatecenter.common
Class Plugin
- java.lang.Object
-
- org.sonar.updatecenter.common.Artifact
-
- org.sonar.updatecenter.common.Component
-
- org.sonar.updatecenter.common.Plugin
-
- All Implemented Interfaces:
Comparable<Artifact>
public class Plugin extends Component
-
-
Field Summary
-
Fields inherited from class org.sonar.updatecenter.common.Component
category, description, developers, homepageUrl, issueTrackerUrl, license, name, organization, organizationUrl, sourcesUrl, termsConditionsUrl
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Pluginfactory(String key)ReleasegetReleaseForSonarVersion(String alias, Version sonarVersion)Pluginmerge(PluginManifest manifest)PluginsetCategory(String category)PluginsetDescription(String description)PluginsetDevelopers(List developers)PluginsetHomepageUrl(String url)PluginsetIssueTrackerUrl(String url)PluginsetLicense(String license)PluginsetName(String name)PluginsetOrganization(String organization)PluginsetOrganizationUrl(String url)PluginsetSourcesUrl(String sourcesUrl)PluginsetTermsConditionsUrl(String url)-
Methods inherited from class org.sonar.updatecenter.common.Component
getCategory, getDescription, getDevelopers, getHomepageUrl, getIssueTrackerUrl, getLicense, getName, getOrganization, getOrganizationUrl, getSourcesUrl, getTermsConditionsUrl, toString
-
Methods inherited from class org.sonar.updatecenter.common.Artifact
addRelease, addRelease, addRelease, compareTo, doesContainVersion, equals, getAllReleases, getArchivedReleases, getArchivedVersions, getDevRelease, getFirstCompatible, getKey, getLastCompatible, getLastCompatibleRelease, getLastCompatibleReleaseIfUpgrade, getLastRelease, getMajorReleases, getMinimalRelease, getPrivateVersions, getPublicReleases, getPublicVersions, getRelease, getRelease, getReleases, getReleasesGreaterThan, getReleasesGreaterThan, getVersions, hashCode, setDevRelease, setKey
-
-
-
-
Method Detail
-
setDescription
public Plugin setDescription(String description)
- Overrides:
setDescriptionin classComponent
-
setHomepageUrl
public Plugin setHomepageUrl(String url)
- Overrides:
setHomepageUrlin classComponent
-
setLicense
public Plugin setLicense(String license)
- Overrides:
setLicensein classComponent
-
setOrganization
public Plugin setOrganization(String organization)
- Overrides:
setOrganizationin classComponent
-
setOrganizationUrl
public Plugin setOrganizationUrl(String url)
- Overrides:
setOrganizationUrlin classComponent
-
setCategory
public Plugin setCategory(String category)
- Overrides:
setCategoryin classComponent
-
setTermsConditionsUrl
public Plugin setTermsConditionsUrl(String url)
- Overrides:
setTermsConditionsUrlin classComponent
-
setIssueTrackerUrl
public Plugin setIssueTrackerUrl(String url)
- Overrides:
setIssueTrackerUrlin classComponent
-
setSourcesUrl
public Plugin setSourcesUrl(String sourcesUrl)
- Overrides:
setSourcesUrlin classComponent
-
setDevelopers
public Plugin setDevelopers(List developers)
- Overrides:
setDevelopersin classComponent
-
merge
public Plugin merge(PluginManifest manifest)
-
-