Class CapabilityTypeModuleDescriptor

java.lang.Object
com.atlassian.plugin.descriptors.AbstractModuleDescriptor<T>
com.atlassian.bamboo.plugin.descriptor.AbstractBambooModuleDescriptor<CapabilityType>
com.atlassian.bamboo.plugin.descriptor.CapabilityTypeModuleDescriptor
All Implemented Interfaces:
com.atlassian.plugin.ModuleDescriptor<CapabilityType>, com.atlassian.plugin.Resourced, com.atlassian.plugin.ScopeAware, com.atlassian.plugin.StateAware, Serializable

public class CapabilityTypeModuleDescriptor extends AbstractBambooModuleDescriptor<CapabilityType> implements Serializable
Module descriptor for the CapabilityType plugin type.

The module class may optionally implement the CapabilityDefaultsHelper interface for server- and agent-side capability auto detection.

See Also:
  • Constructor Details

    • CapabilityTypeModuleDescriptor

      public CapabilityTypeModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory)
  • Method Details

    • getEditTemplate

      @Nullable public @Nullable String getEditTemplate()
    • getViewTemplate

      @Nullable public @Nullable String getViewTemplate()
    • getSortOrder

      public int getSortOrder()
    • init

      public void init(com.atlassian.plugin.Plugin plugin, com.atlassian.plugin.module.Element element) throws com.atlassian.plugin.PluginParseException
      Specified by:
      init in interface com.atlassian.plugin.ModuleDescriptor<CapabilityType>
      Overrides:
      init in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<CapabilityType>
      Throws:
      com.atlassian.plugin.PluginParseException
    • validate

      protected void validate(com.atlassian.plugin.module.Element element)
      Overrides:
      validate in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<CapabilityType>