com.atlassian.jira.functest.framework.admin.plugins
Class AbstractPluginModule

java.lang.Object
  extended by com.atlassian.jira.functest.framework.admin.plugins.AbstractPluginModule
Direct Known Subclasses:
ReferenceModuleType.ReferenceModuleImplementation, ReferencePluginModule

public abstract class AbstractPluginModule
extends Object

Base class for reference plugin modules.

Since:
v4.4

Field Summary
protected  Administration administration
           
protected  String pluginKey
           
 
Constructor Summary
protected AbstractPluginModule(String pluginKey, Administration administration)
           
 
Method Summary
 String completeModuleKey()
          Complete module key including the plugin key prefix.
 void disable()
           
 void enable()
           
 boolean isEnabled()
           
 boolean isInstalled()
           
abstract  String moduleKey()
          Module key.
abstract  String moduleName()
          Name of the module
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pluginKey

protected final String pluginKey

administration

protected final Administration administration
Constructor Detail

AbstractPluginModule

protected AbstractPluginModule(String pluginKey,
                               Administration administration)
Method Detail

moduleKey

public abstract String moduleKey()
Module key.

Returns:
module key

moduleName

public abstract String moduleName()
Name of the module

Returns:
name of the module

completeModuleKey

public final String completeModuleKey()
Complete module key including the plugin key prefix.

Returns:
complete key of this plugin module

disable

public final void disable()

enable

public final void enable()

isEnabled

public final boolean isEnabled()

isInstalled

public final boolean isInstalled()


Copyright © 2002-2014 Atlassian. All Rights Reserved.