Package com.atlassian.plugin.descriptors
Class UnrecognisedModuleDescriptor
java.lang.Object
com.atlassian.plugin.descriptors.AbstractModuleDescriptor<T>
com.atlassian.plugin.descriptors.UnrecognisedModuleDescriptor
- All Implemented Interfaces:
ModuleDescriptor<Void>,Resourced,ScopeAware,StateAware
- Direct Known Subclasses:
UnrecognisedModuleDescriptorRequiringRestart
-
Field Summary
Fields inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
key, moduleClass, moduleClassName, moduleFactory, name, plugin, resources -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal Stringfinal Voidfinal booleanfinal voidsetErrorText(String errorText) final voidSets the key of the ModuleDescriptor This is theoretically bad, as the superclass and the interface doesn't define this method, but it's required to construct an module descriptor when we don't have the XML Element.final voidSets the name of the ModuleDescriptor This is theoretically bad, as the superclass and the interface doesn't define this method, but it's required to construct an module descriptor when we don't have the XML Element.Methods inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
assertModuleClassImplements, checkPermissions, destroy, disabled, enabled, equals, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getModuleClassName, getName, getParams, getPlugin, getPluginKey, getRequiredPermissions, getResourceDescriptor, getResourceDescriptors, getResourceLocation, getScopeKey, hashCode, init, isBroken, isEnabled, isSystemModule, loadClass, satisfiesMinJavaVersion, setBroken, setPlugin, toString, validateMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.atlassian.plugin.ModuleDescriptor
getDisplayName
-
Constructor Details
-
UnrecognisedModuleDescriptor
public UnrecognisedModuleDescriptor()
-
-
Method Details
-
getErrorText
-
setErrorText
-
getModule
- Specified by:
getModulein interfaceModuleDescriptor<T>- Specified by:
getModulein classAbstractModuleDescriptor<T>
-
isEnabledByDefault
public final boolean isEnabledByDefault()- Specified by:
isEnabledByDefaultin interfaceModuleDescriptor<T>- Overrides:
isEnabledByDefaultin classAbstractModuleDescriptor<T>
-
setKey
Sets the key of the ModuleDescriptor This is theoretically bad, as the superclass and the interface doesn't define this method, but it's required to construct an module descriptor when we don't have the XML Element.- Parameters:
key- the key of the ModuleDescriptor
-
setName
Sets the name of the ModuleDescriptor This is theoretically bad, as the superclass and the interface doesn't define this method, but it's required to construct an module descriptor when we don't have the XML Element.- Parameters:
name- the name of the ModuleDescriptor
-