public final class PluginIdChecker
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
check(java.lang.String id)
Checks if the plugin is compliant with the constraints of plugin id.
A plugin id can not start with a dot or an underscore can not contain any non-URL-safe characters cannot contain upper case letters should be something short, but also reasonably descriptive |
static Key |
key(java.lang.String id)
Creates a key by the plugin id as string
|
public static void check(java.lang.String id)
id
- plugin id to be checked.public static Key key(java.lang.String id)
id
- the plugin id as string