Package org.omegat.core.data
Class PluginInformation
- java.lang.Object
-
- org.omegat.core.data.PluginInformation
-
public class PluginInformation extends java.lang.Object
Plugin information POJO data class.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PluginInformation.Builder
Builder class.static class
PluginInformation.Status
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getAuthor()
PluginUtils.PluginType
getCategory()
java.lang.String
getClassName()
java.lang.String
getDescription()
java.lang.String
getLink()
java.lang.String
getName()
java.net.URL
getUrl()
java.lang.String
getVersion()
int
hashCode()
It is identical if status is differed.boolean
isBundled()
java.lang.String
toString()
-
-
-
Method Detail
-
getClassName
public java.lang.String getClassName()
- Returns:
- className of plugin entry point
-
getName
public java.lang.String getName()
- Returns:
- name of plugin
-
getVersion
public java.lang.String getVersion()
- Returns:
- version of plugin
-
getDescription
public java.lang.String getDescription()
- Returns:
- description of plugin features
-
getAuthor
public java.lang.String getAuthor()
- Returns:
- author(s) of plugin
-
getCategory
public final PluginUtils.PluginType getCategory()
- Returns:
- category type of plugin as PluginType enum
-
getLink
public final java.lang.String getLink()
- Returns:
- link URL of plugin homepage
-
getUrl
public java.net.URL getUrl()
- Returns:
- manifest URL of plugin jar
-
isBundled
public final boolean isBundled()
- Returns:
- true if plugin is bundled with OmegaT distribution, otherwise false when 3rd party plugin
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
- Returns:
- string expression of PluginInformation class.
-
hashCode
public int hashCode()
It is identical if status is differed.- Overrides:
hashCode
in classjava.lang.Object
- Returns:
- hashCode of plugin
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-