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.Condition
Direct Known Subclasses:
BasePermissionCondition, BuildNumberCondition, CanClusterCondition, CanEditSpaceStylesCondition, CanSignupCondition, ConfluenceAdministratorCondition, ContentHasAnyPermissionsSetCondition, CreateContentCondition, EmailAddressPublicCondition, ExternalUserManagementEnabledCondition, FavouritePageCondition, FavouriteSpaceCondition, FollowingTargetUserCondition, HasAttachmentCondition, HasBlogPostCondition, HasPageCondition, HasSpaceCondition, LdapUserManagementEnabledCondition, NotPersonalSpaceCondition, NotSharedModeCondition, PrintableVersionCondition, ShowingPageAttachmentsCondition, SpaceFunctionPermissionCondition, SystemAdministratorOrSuperUserCondition, TargetUserCanSetStatusCondition, TargetUserHasPersonalBlogCondition, TargetUserHasPersonalSpaceCondition, ThreadedCommentsCondition, TinyUrlSupportedCondition, UseKeyboardShortcutsCondition, UserCanCreatePersonalSpaceCondition, UserCanUpdateUserStatusCondition, UserCanUseConfluenceCondition, UserFavouritingTargetUserPersonalSpaceCondition, UserFollowingTargetCondition, UserHasPersonalBlogCondition, UserHasPersonalSpaceCondition, UserLoggedInCondition, UserLoggedInEditableCondition, UserWatchingPageCondition, UserWatchingSpaceCondition, ViewingContentCondition, ViewingOwnProfileCondition

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


Constructor Summary
BaseConfluenceCondition()
           
 
Method Summary
 void init(Map<String,String> params)
           
 boolean shouldDisplay(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
 

Constructor Detail

BaseConfluenceCondition

public BaseConfluenceCondition()
Method Detail

init

public void init(Map<String,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(Map context)
Specified by:
shouldDisplay in interface com.atlassian.plugin.web.Condition

shouldDisplay

protected abstract boolean shouldDisplay(WebInterfaceContext context)


Copyright © 2003-2011 Atlassian. All Rights Reserved.