public class MetaPluginInfo
extends java.lang.Object
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(java.lang.Object o) |
|
java.lang.String |
getDescription() |
The description of the meta plugin.
|
java.lang.String |
getName() |
The name of the meta plugin.
|
int |
hashCode() |
|
static boolean |
isMetaPlugin(java.nio.file.Path path) |
|
static boolean |
isPropertiesFile(java.nio.file.Path path) |
|
static MetaPluginInfo |
readFromProperties(java.nio.file.Path path) |
Reads and validates the meta plugin descriptor file.
|
java.lang.String |
toString() |
public static boolean isMetaPlugin(java.nio.file.Path path)
path is a meta plugin.public static boolean isPropertiesFile(java.nio.file.Path path)
path is a meta properties file.public static MetaPluginInfo readFromProperties(java.nio.file.Path path) throws java.io.IOException
path - the path to the root directory for the meta pluginjava.io.IOException - if an I/O exception occurred reading the meta plugin descriptorpublic java.lang.String getName()
public java.lang.String getDescription()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object