View Javadoc

1   package com.atlassian.plugin.web.descriptors;
2   
3   import com.atlassian.plugin.ModuleDescriptor;
4   import com.atlassian.plugin.StateAware;
5   import com.atlassian.plugin.web.Condition;
6   import com.atlassian.plugin.web.model.WebLabel;
7   import com.atlassian.plugin.web.model.WebParam;
8   
9   /**
10   * A convenience interface for web fragment descriptors
11   */
12  public interface WebFragmentModuleDescriptor<T> extends ModuleDescriptor<T>, WeightedDescriptor, StateAware, ContextAware, ConditionalDescriptor
13  {
14      /**
15       * @deprecated As of 2.5.0, use
16       *             {@link ConditionElementParser.CompositeType#OR}
17       */
18      @Deprecated
19      int COMPOSITE_TYPE_OR = ConditionElementParser.CompositeType.OR;
20  
21      /**
22       * @deprecated As of 2.5.0, use
23       *             {@link ConditionElementParser.CompositeType#AND}
24       */
25      @Deprecated
26      int COMPOSITE_TYPE_AND = ConditionElementParser.CompositeType.AND;
27  
28      int getWeight();
29  
30      WebLabel getWebLabel();
31  
32      WebLabel getTooltip();
33  
34      Condition getCondition();
35  
36      WebParam getWebParams();
37  }