com.atlassian.confluence.plugin.descriptor.web.conditions
Class BaseConfluenceCondition

java.lang.Object
  extended by 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, CreateContentCondition, CreateContentCondition, CreatePageCondition, DarkFeatureEnabledCondition, DocThemeEnabledCondition, EditOrCreateBlogCondition, EditOrCreatePageCondition, EditOrCreateTemplateCondition, EmailAddressPublicCondition, ExternalUserManagementEnabledCondition, FavouritePageCondition, FavouriteSpaceCondition, FollowingTargetUserCondition, HasAttachmentCondition, HasBlogPostCondition, HasLabelCondition, HasPageCondition, HasSetPagePermissionsCondition, HasSpaceCondition, HasTemplateCondition, IsEditorPageRestrictedCondition, LatestVersionCondition, LdapUserManagementEnabledCondition, NotPersonalSpaceCondition, NotSharedModeCondition, PeopleDirectoryEnabledCondition, PrintableVersionCondition, QUnitTestResourceCondition, RemoteUserCanUseConfluenceCondition, ShowingPageAttachmentsCondition, SpaceFunctionPermissionCondition, SpaceSidebarCondition, SystemAdministratorCondition, TargetUserCanSetStatusCondition, TargetUserCanUseConfluenceCondition, TargetUserHasPersonalBlogCondition, TargetUserHasPersonalSpaceCondition, ThreadedCommentsCondition, TinyUrlSupportedCondition, UseKeyboardShortcutsCondition, UserCanCreatePersonalSpaceCondition, UserCanUpdateUserStatusCondition, UserFavouritingTargetUserPersonalSpaceCondition, UserFollowingTargetCondition, UserHasPersonalBlogCondition, UserHasPersonalSpaceCondition, UserLoggedInCondition, UserLoggedInEditableCondition, UserWatchingPageCondition, UserWatchingSpaceCondition, UserWatchingSpaceForContentTypeCondition, ViewingContentCondition, ViewingOwnProfileCondition, WritableDirectoryExistsCondition

public abstract class BaseConfluenceCondition
extends java.lang.Object
implements com.atlassian.plugin.web.Condition


Field Summary
static java.lang.String CONTEXT_KEY_HELPER
           
 
Constructor Summary
BaseConfluenceCondition()
           
 
Method Summary
 void init(java.util.Map<java.lang.String,java.lang.String> params)
           
 boolean shouldDisplay(java.util.Map context)
           
protected abstract  boolean shouldDisplay(WebInterfaceContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONTEXT_KEY_HELPER

public static final java.lang.String CONTEXT_KEY_HELPER
See Also:
Constant Field Values
Constructor Detail

BaseConfluenceCondition

public BaseConfluenceCondition()
Method Detail

init

public void init(java.util.Map<java.lang.String,java.lang.String> params)
          throws com.atlassian.plugin.PluginParseException
Specified by:
init in interface com.atlassian.plugin.web.Condition
Throws:
com.atlassian.plugin.PluginParseException

shouldDisplay

public boolean shouldDisplay(java.util.Map context)
Specified by:
shouldDisplay in interface com.atlassian.plugin.web.Condition

shouldDisplay

protected abstract boolean shouldDisplay(WebInterfaceContext context)


Copyright © 2003-2014 Atlassian. All Rights Reserved.