Package org.omegat.core.data
Class PluginInformation
- java.lang.Object
-
- org.omegat.core.data.PluginInformation
-
public class PluginInformation extends java.lang.ObjectPlugin information POJO data class.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPluginInformation.BuilderBuilder class.static classPluginInformation.Status
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetAuthor()PluginUtils.PluginTypegetCategory()java.lang.StringgetClassName()java.lang.StringgetDescription()java.lang.StringgetLink()java.lang.StringgetName()java.net.URLgetUrl()java.lang.StringgetVersion()inthashCode()It is identical if status is differed.booleanisBundled()java.lang.StringtoString()
-
-
-
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:
toStringin classjava.lang.Object- Returns:
- string expression of PluginInformation class.
-
hashCode
public int hashCode()
It is identical if status is differed.- Overrides:
hashCodein classjava.lang.Object- Returns:
- hashCode of plugin
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-