public final class PluginNode extends java.lang.Object implements IdeaPluginDescriptor
Modifier and Type | Class and Description |
---|---|
static class |
PluginNode.Status |
Constructor and Description |
---|
PluginNode() |
PluginNode(PluginId id) |
PluginNode(PluginId id,
java.lang.String name,
java.lang.String size) |
Modifier and Type | Method and Description |
---|---|
void |
addDepends(java.lang.String id) |
boolean |
equals(java.lang.Object o) |
java.util.List<Element> |
getActionDescriptionElements() |
java.lang.String |
getCategory() |
java.lang.String |
getChangeNotes() |
long |
getDate() |
PluginId [] |
getDependentPluginIds() |
java.util.List<PluginId> |
getDepends() |
java.lang.String |
getDescription() |
java.lang.String |
getDownloads() |
java.lang.String |
getDownloadUrl() |
java.lang.String |
getInstalledVersion() |
java.lang.String |
getName() |
PluginId [] |
getOptionalDependentPluginIds() |
java.io.File |
getPath() |
java.lang.ClassLoader |
getPluginClassLoader() |
Disposable |
getPluginDisposable() |
PluginId |
getPluginId()
Methods below implement PluginDescriptor and IdeaPluginDescriptor interface
|
java.nio.file.Path |
getPluginPath() |
java.lang.String |
getProductCode() |
java.lang.String |
getRating() |
java.util.Date |
getReleaseDate() |
int |
getReleaseVersion() |
java.lang.String |
getRepositoryName() |
java.lang.String |
getResourceBundleBaseName() |
java.lang.String |
getSinceBuild() |
java.lang.String |
getSize() |
PluginNode.Status |
getStatus() |
java.util.List<java.lang.String> |
getTags() |
java.lang.String |
getUntilBuild() |
java.lang.String |
getUrl() |
java.lang.String |
getVendor() |
java.lang.String |
getVendorEmail() |
java.lang.String |
getVendorUrl() |
java.lang.String |
getVersion()
Be careful when comparing Plugins versions.
|
int |
hashCode() |
boolean |
isEnabled() |
boolean |
isIncomplete() |
boolean |
isLicenseOptional() |
boolean |
isLoaded() |
void |
setCategory(java.lang.String category) |
void |
setChangeNotes(java.lang.String changeNotes) |
void |
setDate(java.lang.String date) |
void |
setDepends(java.util.List<? extends PluginId> depends,
PluginId [] optionalDependencies) |
void |
setDescription(java.lang.String description) |
void |
setDownloads(java.lang.String downloads) |
void |
setDownloadUrl(java.lang.String host) |
void |
setEnabled(boolean enabled) |
void |
setId(java.lang.String id) |
void |
setIncomplete(boolean incomplete) |
void |
setInstalledVersion(java.lang.String installedVersion) |
void |
setLicenseOptional(boolean optional) |
void |
setLoaded(boolean loaded) |
void |
setName(java.lang.String name) |
void |
setProductCode(java.lang.String productCode) |
void |
setRating(java.lang.String rating) |
void |
setReleaseDate(java.util.Date date) |
void |
setReleaseVersion(int releaseVersion) |
void |
setRepositoryName(java.lang.String repositoryName) |
void |
setSinceBuild(java.lang.String sinceBuild) |
void |
setSize(java.lang.String size) |
void |
setStatus(PluginNode.Status status) |
void |
setTags(java.util.List<java.lang.String> tags) |
void |
setUntilBuild(java.lang.String untilBuild) |
void |
setUrl(java.lang.String url) |
void |
setVendor(java.lang.String vendor) |
void |
setVendorEmail(java.lang.String vendorEmail) |
void |
setVendorUrl(java.lang.String vendorUrl) |
void |
setVersion(java.lang.String version) |
java.lang.String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
allowBundledUpdate, isBundled, isImplementationDetail
public PluginNode()
public PluginNode(PluginId id)
public PluginNode(PluginId id, java.lang.String name, java.lang.String size)
public void setCategory(java.lang.String category)
public java.lang.String getName()
getName
in interface PluginDescriptor
public void setName(java.lang.String name)
public void setId(java.lang.String id)
public java.lang.String getProductCode()
getProductCode
in interface PluginDescriptor
public void setProductCode(java.lang.String productCode)
public java.util.Date getReleaseDate()
getReleaseDate
in interface PluginDescriptor
public void setReleaseDate(java.util.Date date)
public int getReleaseVersion()
getReleaseVersion
in interface PluginDescriptor
public void setReleaseVersion(int releaseVersion)
public boolean isLicenseOptional()
isLicenseOptional
in interface PluginDescriptor
public void setLicenseOptional(boolean optional)
public java.lang.String getCategory()
getCategory
in interface PluginDescriptor
public java.lang.String getVersion()
getVersion
in interface PluginDescriptor
public void setVersion(java.lang.String version)
public java.lang.String getVendor()
getVendor
in interface PluginDescriptor
public void setVendor(java.lang.String vendor)
public java.lang.String getDescription()
getDescription
in interface PluginDescriptor
public void setDescription(java.lang.String description)
public java.lang.String getChangeNotes()
getChangeNotes
in interface PluginDescriptor
public void setChangeNotes(java.lang.String changeNotes)
public java.lang.String getSinceBuild()
getSinceBuild
in interface PluginDescriptor
public void setSinceBuild(java.lang.String sinceBuild)
public PluginNode.Status getStatus()
public void setStatus(PluginNode.Status status)
public boolean isLoaded()
public void setLoaded(boolean loaded)
public java.lang.String getDownloads()
getDownloads
in interface PluginDescriptor
public void setDownloads(java.lang.String downloads)
public java.lang.String getSize()
public void setSize(java.lang.String size)
public java.lang.String getVendorEmail()
getVendorEmail
in interface PluginDescriptor
public void setVendorEmail(java.lang.String vendorEmail)
public java.lang.String getVendorUrl()
getVendorUrl
in interface PluginDescriptor
public void setVendorUrl(java.lang.String vendorUrl)
public java.lang.String getUrl()
getUrl
in interface PluginDescriptor
public void setUrl(java.lang.String url)
public void setDate(java.lang.String date)
public long getDate()
public java.util.List<PluginId> getDepends()
public void setDepends(java.util.List<? extends PluginId> depends, PluginId [] optionalDependencies)
public void addDepends(java.lang.String id)
public java.util.List<java.lang.String> getTags()
public void setTags(java.util.List<java.lang.String> tags)
public PluginId getPluginId()
getPluginId
in interface PluginDescriptor
public java.lang.ClassLoader getPluginClassLoader()
getPluginClassLoader
in interface PluginDescriptor
public java.io.File getPath()
getPath
in interface PluginDescriptor
public java.nio.file.Path getPluginPath()
getPluginPath
in interface PluginDescriptor
public PluginId [] getDependentPluginIds()
getDependentPluginIds
in interface PluginDescriptor
public PluginId [] getOptionalDependentPluginIds()
getOptionalDependentPluginIds
in interface PluginDescriptor
public java.lang.String getResourceBundleBaseName()
getResourceBundleBaseName
in interface PluginDescriptor
public java.util.List<Element> getActionDescriptionElements()
getActionDescriptionElements
in interface PluginDescriptor
public java.lang.String getUntilBuild()
getUntilBuild
in interface PluginDescriptor
public void setUntilBuild(java.lang.String untilBuild)
public boolean isEnabled()
isEnabled
in interface PluginDescriptor
public void setEnabled(boolean enabled)
setEnabled
in interface PluginDescriptor
public Disposable getPluginDisposable()
getPluginDisposable
in interface PluginDescriptor
public java.lang.String getDownloadUrl()
public void setDownloadUrl(java.lang.String host)
public java.lang.String getRepositoryName()
public void setRepositoryName(java.lang.String repositoryName)
public java.lang.String getInstalledVersion()
public void setInstalledVersion(java.lang.String installedVersion)
public java.lang.String getRating()
public void setRating(java.lang.String rating)
public boolean isIncomplete()
public void setIncomplete(boolean incomplete)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object