|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<ModuleDefinition> com.atlassian.greenhopper.plugin.module.ModuleDefinition
public enum ModuleDefinition
Contains all the module definitions that can be dynamically loaded by the ModuleLoader based on the ModuleContext.
Method Summary | |
---|---|
static java.util.List<ModuleDefinition> |
getDefinitionsForContext(ModuleContext ctx)
Returns an List containing the module definitions applicable for the given PluginModuleContext. |
java.util.List<ModuleDefinition> |
getDependencies()
Returns a list of ModuleDefinition that are dependencies this module relies on being loaded before it can be loaded successfully. |
java.lang.String |
getFileName()
Returns the file name of the file that contains the module's xml contribution to the plugin's atlassian-plugin.xml file. |
abstract boolean |
isApplicable(ModuleContext ctx)
Checks if the module is applicable for the given context. |
static ModuleDefinition |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ModuleDefinition[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ModuleDefinition CAPABILITIES
public static final ModuleDefinition CAPABILITIES_SINCE_611
public static final ModuleDefinition HEALTH_CHECKS
public static final ModuleDefinition RESOURCE_BACKPORTS_60
public static final ModuleDefinition RESOURCE_EXPANDER_61
public static final ModuleDefinition RESOURCE_EXPANDER_60
public static final ModuleDefinition RESOURCE_SPINNER_61
public static final ModuleDefinition RESOURCE_SPINNER_60
public static final ModuleDefinition RESOURCE_MOMENTJS_62
public static final ModuleDefinition RESOURCE_MOMENTJS_60
public static final ModuleDefinition RESOURCE_ISSUE_STATUS_61
public static final ModuleDefinition RESOURCE_ISSUE_STATUS_60
public static final ModuleDefinition RESOURCE_TOOLTIPS_60
public static final ModuleDefinition GADGETS
public static final ModuleDefinition REMOTE_LINK_AGGREGATORS
Method Detail |
---|
public static ModuleDefinition[] values()
for (ModuleDefinition c : ModuleDefinition.values()) System.out.println(c);
public static ModuleDefinition valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic static java.util.List<ModuleDefinition> getDefinitionsForContext(ModuleContext ctx)
ctx
-
public java.lang.String getFileName()
public java.util.List<ModuleDefinition> getDependencies()
public abstract boolean isApplicable(ModuleContext ctx)
ctx
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |