Class TargetUserIsValidUserCondition
- java.lang.Object
-
- com.atlassian.confluence.plugin.descriptor.web.conditions.BaseConfluenceCondition
-
- com.atlassian.confluence.plugin.descriptor.web.conditions.user.TargetUserIsValidUserCondition
-
- All Implemented Interfaces:
com.atlassian.plugin.web.baseconditions.BaseCondition
,com.atlassian.plugin.web.Condition
public class TargetUserIsValidUserCondition extends BaseConfluenceCondition
Returns true if the target user is a valid user. A valid user is one that is not a deleted user, or an unknown user.- Since:
- 6.13.0
-
-
Field Summary
-
Fields inherited from class com.atlassian.confluence.plugin.descriptor.web.conditions.BaseConfluenceCondition
CONTEXT_KEY_HELPER
-
-
Constructor Summary
Constructors Constructor Description TargetUserIsValidUserCondition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setUserAccessor(UserAccessorInternal userAccessor)
boolean
shouldDisplay(WebInterfaceContext context)
-
Methods inherited from class com.atlassian.confluence.plugin.descriptor.web.conditions.BaseConfluenceCondition
init, shouldDisplay
-
-
-
-
Method Detail
-
shouldDisplay
public boolean shouldDisplay(WebInterfaceContext context)
- Specified by:
shouldDisplay
in classBaseConfluenceCondition
-
setUserAccessor
public void setUserAccessor(UserAccessorInternal userAccessor)
-
-