Class CachedCondition
java.lang.Object
com.atlassian.plugin.webresource.impl.CachedCondition
Cached condition.
This class is interned, see ConditionInstanceCache.
- Since:
- v3.3
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddToUrlSafely(RequestCache requestCache, UrlBuilder urlBuilder, UrlBuildingStrategy urlBuilderStrategy) Add parameters of condition to url.booleanevaluateSafely(RequestCache requestCache, UrlBuildingStrategy urlBuilderStrategy) TheUrlReadingConditionwill be asked to generate parameters and evaluate it.booleanevaluateSafely(RequestCache requestCache, Map<String, String> params) TheUrlReadingConditionwill be asked to generate parameters and evaluate it.
-
Constructor Details
-
CachedCondition
-
-
Method Details
-
evaluateSafely
TheUrlReadingConditionwill be asked to generate parameters and evaluate it. If error will be thrown it will be intercepted and condition evaluated to false. -
evaluateSafely
TheUrlReadingConditionwill be asked to generate parameters and evaluate it. If error will be thrown it will be intercepted and condition evaluated to false. -
addToUrlSafely
public void addToUrlSafely(RequestCache requestCache, UrlBuilder urlBuilder, UrlBuildingStrategy urlBuilderStrategy) Add parameters of condition to url. If error will be thrown it will be intercepted and nothing will be added to url.
-