public abstract class Registrable extends xyz.srnyx.javautilities.parents.Stringable implements Annoyable
| Modifier and Type | Class and Description |
|---|---|
static interface |
Registrable.Ignore
An annotation to ignore a class from being automatically registered via
RegistrationOptions.AutomaticRegistration |
| Constructor and Description |
|---|
Registrable()
Constructs a new
Registrable for registration |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isRegistered()
Returns whether the class is registered or not
|
void |
register()
Registers the class
|
void |
setRegistered(boolean registered)
Sets whether the class is registered or not
|
void |
unregister()
Unregisters the class
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAnnoyingPluginpublic Registrable()
Registrable for registrationpublic boolean isRegistered()
public void setRegistered(boolean registered)
registered - whether the class is registered or notpublic void register()
public void unregister()