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.ContextProvider;
7   import com.atlassian.plugin.web.model.WebLabel;
8   import com.atlassian.plugin.web.model.WebParam;
9   
10  /**
11   * A convenience interface for web fragment descriptors
12   */
13  public interface WebFragmentModuleDescriptor extends ModuleDescriptor, WeightedDescriptor, StateAware
14  {
15      int COMPOSITE_TYPE_OR = 0;
16      int COMPOSITE_TYPE_AND = 1;
17  
18      int getWeight();
19  
20      Object getModule();
21  
22      WebLabel getWebLabel();
23  
24      WebLabel getTooltip();
25  
26      Condition getCondition();
27  
28      ContextProvider getContextProvider();
29  
30      WebParam getWebParams();
31  }