Class TaskConditionModuleDescriptorImpl

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String XML_ELEMENT_NAME  
      • Fields inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor

        key, moduleClass, moduleClassName, moduleFactory, name, plugin, resources
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void init​(@NotNull com.atlassian.plugin.Plugin plugin, @NotNull org.dom4j.Element element)  
      protected boolean isMutable()
      Whether modules of this descriptor are supposed to be mutated by external components.
      • Methods inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor

        assertModuleClassImplements, checkPermissions, destroy, enabled, equals, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getModuleClassName, getName, getParams, getPlugin, getPluginKey, getRequiredPermissions, getResourceDescriptor, getResourceDescriptors, getResourceLocation, getScopeKey, hashCode, isBroken, isEnabled, isEnabledByDefault, isSystemModule, loadClass, provideValidationRules, satisfiesMinJavaVersion, setBroken, setPlugin, toString, validate
      • Methods inherited from interface com.atlassian.plugin.ModuleDescriptor

        destroy, equals, getCompleteKey, getDescription, getDescriptionKey, getDisplayName, getI18nNameKey, getKey, getMinJavaVersion, getModule, getModuleClass, getName, getParams, getPlugin, getPluginKey, hashCode, init, isBroken, isEnabled, isEnabledByDefault, isSystemModule, satisfiesMinJavaVersion, setBroken
      • Methods inherited from interface com.atlassian.plugin.Resourced

        getResourceDescriptor, getResourceDescriptors, getResourceLocation
      • Methods inherited from interface com.atlassian.plugin.ScopeAware

        getScopeKey
    • Constructor Detail

      • TaskConditionModuleDescriptorImpl

        public TaskConditionModuleDescriptorImpl​(com.atlassian.plugin.module.ModuleFactory moduleFactory)
    • Method Detail

      • init

        public void init​(@NotNull
                         @NotNull com.atlassian.plugin.Plugin plugin,
                         @NotNull
                         @NotNull org.dom4j.Element element)
                  throws com.atlassian.plugin.PluginParseException
        Specified by:
        init in interface com.atlassian.plugin.ModuleDescriptor<TaskCondition>
        Overrides:
        init in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<TaskCondition>
        Throws:
        com.atlassian.plugin.PluginParseException
      • isMutable

        protected boolean isMutable()
        Description copied from class: AbstractBambooModuleDescriptor
        Whether modules of this descriptor are supposed to be mutated by external components. By default this returns true, which means a fresh module instance will be created each time AbstractBambooModuleDescriptor.getModule() is called.

        Subclasses that are safe to cache a singleton instance of module throughout the life span of this descriptor can override this method and return false.

        Overrides:
        isMutable in class AbstractBambooModuleDescriptor<TaskCondition>
        Returns:
        true if modules of this descriptor are mutable