Class UrlReadingConditionElementParser
java.lang.Object
com.atlassian.plugin.web.baseconditions.AbstractConditionElementParser<DecoratingCondition>
com.atlassian.plugin.webresource.condition.UrlReadingConditionElementParser
public class UrlReadingConditionElementParser
extends com.atlassian.plugin.web.baseconditions.AbstractConditionElementParser<DecoratingCondition>
Implementation of AbstractConditionElementParser for UrlReadingCondition.
The "class" attribute may represent a UrlReadingCondition or a legacy Condition. We offered "class2"
for migration purposes, to avoid changing behaviour we still check that first. However, if "class" is provided and
it doesn't implement UrlReadingCondition we refuse to load the module to bring this to the engineer's
attention
- Since:
- v3.0
-
Nested Class Summary
Nested classes/interfaces inherited from class com.atlassian.plugin.web.baseconditions.AbstractConditionElementParser
com.atlassian.plugin.web.baseconditions.AbstractConditionElementParser.CompositeType -
Constructor Summary
ConstructorsConstructorDescriptionUrlReadingConditionElementParser(com.atlassian.plugin.hostcontainer.HostContainer hostContainer) -
Method Summary
Modifier and TypeMethodDescriptionprotected com.atlassian.plugin.web.baseconditions.CompositeCondition<DecoratingCondition>protected com.atlassian.plugin.web.baseconditions.CompositeCondition<DecoratingCondition>protected DecoratingConditioninvert(DecoratingCondition condition) protected DecoratingConditionmakeConditionImplementation(com.atlassian.plugin.Plugin plugin, com.atlassian.plugin.module.Element element) Methods inherited from class com.atlassian.plugin.web.baseconditions.AbstractConditionElementParser
makeCondition, makeConditions, makeConditions
-
Constructor Details
-
UrlReadingConditionElementParser
public UrlReadingConditionElementParser(com.atlassian.plugin.hostcontainer.HostContainer hostContainer)
-
-
Method Details
-
makeConditionImplementation
protected DecoratingCondition makeConditionImplementation(com.atlassian.plugin.Plugin plugin, com.atlassian.plugin.module.Element element) throws com.atlassian.plugin.PluginParseException - Specified by:
makeConditionImplementationin classcom.atlassian.plugin.web.baseconditions.AbstractConditionElementParser<DecoratingCondition>- Throws:
com.atlassian.plugin.PluginParseException
-
invert
- Specified by:
invertin classcom.atlassian.plugin.web.baseconditions.AbstractConditionElementParser<DecoratingCondition>
-
createAndCompositeCondition
protected com.atlassian.plugin.web.baseconditions.CompositeCondition<DecoratingCondition> createAndCompositeCondition()- Specified by:
createAndCompositeConditionin classcom.atlassian.plugin.web.baseconditions.AbstractConditionElementParser<DecoratingCondition>
-
createOrCompositeCondition
protected com.atlassian.plugin.web.baseconditions.CompositeCondition<DecoratingCondition> createOrCompositeCondition()- Specified by:
createOrCompositeConditionin classcom.atlassian.plugin.web.baseconditions.AbstractConditionElementParser<DecoratingCondition>
-