public abstract class AbstractPlugin extends java.lang.Object implements Plugin
PROPERTY_MINIMUM_WORLDPAINTER_VERSION, PROPERTY_NAME, PROPERTY_UUIDS, PROPERTY_VERSION| Constructor and Description | 
|---|
| AbstractPlugin(java.lang.String name,
              java.lang.String version)Create a new instance of  AbstractPlugin. | 
| AbstractPlugin(java.lang.String name,
              java.lang.String version,
              java.util.UUID uuid)Create a new instance of  AbstractPluginthat is tied to a
 particular WorldPainter installation. | 
| Modifier and Type | Method and Description | 
|---|---|
| java.lang.String | getName()Get the name of the plugin. | 
| java.util.Properties | getProperties()Get the properties of the plugin. | 
| java.util.Set<java.util.UUID> | getUUIDs()Get the set of UUIDs this plugin is locked to, or  nullif
 the plugin can be used by anyone. | 
| java.lang.String | getVersion()Get the version number of the plugin. | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMinimumWorldPainterVersion, initpublic AbstractPlugin(java.lang.String name,
                      java.lang.String version)
AbstractPlugin.name - The name of this plugin class. May or may not be the same
                as the name of the plugin in the descriptor, since one
                plugin may specify multiple plugin classes.version - The version of this plugin class. May or may not be the
                same as the name of the plugin in the descriptor, since
                one plugin may specify multiple plugin classes.public AbstractPlugin(java.lang.String name,
                      java.lang.String version,
                      java.util.UUID uuid)
AbstractPlugin that is tied to a
 particular WorldPainter installation.name - The name of this plugin class. May or may not be the same
                as the name of the plugin in the descriptor, since one
                plugin may specify multiple plugin classes.version - The version of this plugin class. May or may not be the
                same as the name of the plugin in the descriptor, since
                one plugin may specify multiple plugin classes.uuid - The uuid of the WorldPainter installation to which this
             instance of the plugin should be tied.public final java.lang.String getName()
PlugingetPoperties().getProperty(Plugin.PROPERTY_NAME)
public final java.lang.String getVersion()
PlugingetPoperties().getProperty(Plugin.PROPERTY_VERSION)
getVersion in interface Pluginpublic final java.util.Set<java.util.UUID> getUUIDs()
Pluginnull if
 the plugin can be used by anyone. Convenience method for parsing the
 result of:
 
 getPoperties().getProperty(Plugin.PROPERTY_UUIDS)
public final java.util.Properties getProperties()
PlugingetProperties in interface Plugin