Class BaseConfluenceCondition
- java.lang.Object
-
- com.atlassian.confluence.plugin.descriptor.web.conditions.BaseConfluenceCondition
-
- All Implemented Interfaces:
com.atlassian.plugin.web.baseconditions.BaseCondition
,com.atlassian.plugin.web.Condition
- Direct Known Subclasses:
ActiveThemeCondition
,BasePermissionCondition
,BuildNumberCondition
,CanAddUsersCondition
,CanClusterCondition
,CanEditSpaceStylesCondition
,CanInviteUserCondition
,CanSignupCondition
,ConfluenceAdministratorCondition
,ContentHasAnyPermissionsSetCondition
,ContentHasExplicitPermissionsSetCondition
,ContentHasExplicitViewPermissionsSetCondition
,ContentHasInheritedPermissionsSetCondition
,CreateContentCondition
,CreateContentCondition
,CreatePageCondition
,CreatePageOrBlogpostCondition
,DarkFeatureEnabledCondition
,DraftStatusLozengeCondition
,EditOrCreateBlogCondition
,EditOrCreatePageCondition
,EditOrCreateTemplateCondition
,EmailAddressPublicCondition
,FavouritePageCondition
,FavouriteSpaceCondition
,FileSystemAttachmentStorageCondition
,FollowingTargetUserCondition
,HasAttachmentCondition
,HasBlogPostCondition
,HasLabelCondition
,HasPageCondition
,HasSetPagePermissionsCondition
,HasSpaceCondition
,HasTemplateCondition
,IsEditorPageRestrictedCondition
,LatestVersionCondition
,LicenseAllowsDataCenterFeaturesCondition
,NotPersonalSpaceCondition
,PeopleDirectoryEnabledCondition
,PrintableVersionCondition
,ReadWriteAccessModeCondition
,RemoteUserCanUseConfluenceCondition
,RemoteUserHasLicensedAccessCondition
,ShowingPageAttachmentsCondition
,SpaceFunctionPermissionCondition
,SpaceSidebarCondition
,SystemAdministratorCondition
,TargetUserCanUseConfluenceCondition
,TargetUserHasPersonalBlogCondition
,TargetUserHasPersonalSpaceCondition
,TargetUserIsValidUserCondition
,ThreadedCommentsCondition
,TinyUrlSupportedCondition
,UnpublishedStatusLozengeCondition
,UseKeyboardShortcutsCondition
,UserCanCreatePersonalSpaceCondition
,UserFavouritingTargetUserPersonalSpaceCondition
,UserHasPersonalBlogCondition
,UserHasPersonalSpaceCondition
,UserLoggedInCondition
,UserLoggedInEditableCondition
,UserWatchingPageCondition
,UserWatchingSpaceCondition
,UserWatchingSpaceForContentTypeCondition
,ViewingContentCondition
,ViewingOwnProfileCondition
,WritableDirectoryExistsCondition
public abstract class BaseConfluenceCondition extends Object implements com.atlassian.plugin.web.Condition
-
-
Field Summary
Fields Modifier and Type Field Description static String
CONTEXT_KEY_HELPER
-
Constructor Summary
Constructors Constructor Description BaseConfluenceCondition()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
init(Map<String,String> params)
protected abstract boolean
shouldDisplay(WebInterfaceContext context)
boolean
shouldDisplay(Map context)
-
-
-
Field Detail
-
CONTEXT_KEY_HELPER
public static final String CONTEXT_KEY_HELPER
- See Also:
- Constant Field Values
-
-
Method Detail
-
init
public void init(Map<String,String> params) throws com.atlassian.plugin.PluginParseException
- Specified by:
init
in interfacecom.atlassian.plugin.web.Condition
- Throws:
com.atlassian.plugin.PluginParseException
-
shouldDisplay
public boolean shouldDisplay(Map context)
- Specified by:
shouldDisplay
in interfacecom.atlassian.plugin.web.Condition
-
shouldDisplay
protected abstract boolean shouldDisplay(WebInterfaceContext context)
-
-