com.atlassian.plugin.descriptors
Class UnrecognisedModuleDescriptor

java.lang.Object
  extended by com.atlassian.plugin.descriptors.AbstractModuleDescriptor<Void>
      extended by com.atlassian.plugin.descriptors.UnrecognisedModuleDescriptor
All Implemented Interfaces:
ModuleDescriptor<Void>, Resourced, StateAware

public final class UnrecognisedModuleDescriptor
extends AbstractModuleDescriptor<Void>


Field Summary
 
Fields inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
moduleClass, moduleClassName, moduleFactory, plugin, resources, singleton
 
Constructor Summary
UnrecognisedModuleDescriptor()
           
 
Method Summary
 String getErrorText()
           
 Void getModule()
          The particular module object created by this plugin.
 boolean isEnabledByDefault()
          Whether or not this plugin module is enabled by default.
 void setErrorText(String errorText)
           
 void setKey(String key)
          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 UnrecognisedModuleDescriptor when we don't have the XML Element.
 void setName(String name)
          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 UnrecognisedModuleDescriptor when we don't have the XML Element.
 
Methods inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
assertModuleClassImplements, destroy, disabled, enabled, equals, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getName, getParams, getPlugin, getPluginKey, getResourceDescriptor, getResourceDescriptors, getResourceDescriptors, getResourceLocation, hashCode, init, isSingleton, isSingletonByDefault, isSystemModule, loadClass, loadClass, provideValidationRules, satisfiesMinJavaVersion, setPlugin, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnrecognisedModuleDescriptor

public UnrecognisedModuleDescriptor()
Method Detail

getModule

public Void getModule()
Description copied from interface: ModuleDescriptor
The particular module object created by this plugin.

Specified by:
getModule in interface ModuleDescriptor<Void>
Specified by:
getModule in class AbstractModuleDescriptor<Void>
Returns:
The module object created by this plugin.
See Also:
ModuleDescriptor.getModuleClass()

isEnabledByDefault

public boolean isEnabledByDefault()
Description copied from interface: ModuleDescriptor
Whether or not this plugin module is enabled by default.

Specified by:
isEnabledByDefault in interface ModuleDescriptor<Void>
Overrides:
isEnabledByDefault in class AbstractModuleDescriptor<Void>
Returns:
true if this plugin module is enabled by default.

getErrorText

public String getErrorText()

setErrorText

public void setErrorText(String errorText)

setKey

public void setKey(String key)
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 UnrecognisedModuleDescriptor when we don't have the XML Element.

Parameters:
key - the key of the ModuleDescriptor

setName

public void setName(String name)
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 UnrecognisedModuleDescriptor when we don't have the XML Element.

Parameters:
name - the name of the ModuleDescriptor


Copyright © 2011 Atlassian. All Rights Reserved.