com.atlassian.jira.plugin
Class MakeConditionHelper

java.lang.Object
  extended by com.atlassian.jira.plugin.MakeConditionHelper

public class MakeConditionHelper
extends java.lang.Object

FQCN : com.atlassian.jira.plugin.MakeConditionHelper

Since:
3.10.1.30 Description : MakeConditionHelper provides Condition loading process
Author:
Kaamelot

Field Summary
static int COMPOSITE_TYPE_AND
           
static int COMPOSITE_TYPE_OR
           
 
Constructor Summary
protected MakeConditionHelper()
           
 
Method Summary
static MakeConditionHelper getInstance()
           
 com.atlassian.plugin.web.Condition loadCondition(java.lang.String className)
           
protected  com.atlassian.plugin.web.Condition makeCondition(org.dom4j.Element element)
           
 com.atlassian.plugin.web.Condition makeConditions(org.dom4j.Element element, int type)
          Create a condition for when this web fragment should be displayed
protected  com.atlassian.plugin.web.Condition makeConditions(java.util.List elements, int type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COMPOSITE_TYPE_OR

public static final int COMPOSITE_TYPE_OR
See Also:
Constant Field Values

COMPOSITE_TYPE_AND

public static final int COMPOSITE_TYPE_AND
See Also:
Constant Field Values
Constructor Detail

MakeConditionHelper

protected MakeConditionHelper()
Method Detail

getInstance

public static MakeConditionHelper getInstance()

makeConditions

public com.atlassian.plugin.web.Condition makeConditions(org.dom4j.Element element,
                                                         int type)
                                                  throws com.atlassian.plugin.PluginParseException
Create a condition for when this web fragment should be displayed

Parameters:
element - Element of web-section or web-item
type - logical operator type getCompositeType(java.lang.String)
Throws:
com.atlassian.plugin.PluginParseException

makeConditions

protected com.atlassian.plugin.web.Condition makeConditions(java.util.List elements,
                                                            int type)
                                                     throws com.atlassian.plugin.PluginParseException
Throws:
com.atlassian.plugin.PluginParseException

makeCondition

protected com.atlassian.plugin.web.Condition makeCondition(org.dom4j.Element element)
                                                    throws com.atlassian.plugin.PluginParseException
Throws:
com.atlassian.plugin.PluginParseException

loadCondition

public com.atlassian.plugin.web.Condition loadCondition(java.lang.String className)
                                                 throws com.atlassian.plugin.web.conditions.ConditionLoadingException
Throws:
com.atlassian.plugin.web.conditions.ConditionLoadingException


Copyright © 2007-2008 Kaamelot Plugins. All Rights Reserved.