Class Target.ContainerTarget
- java.lang.Object
-
- com.atlassian.confluence.api.model.permissions.Target
-
- com.atlassian.confluence.api.model.permissions.Target.ContainerTarget
-
- Enclosing class:
- Target
@Internal public static class Target.ContainerTarget extends Target
A target for a container being used to check operations on a different target type within it. For example, a Page container used to check operations on containedTargetType.COMMENT
s.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.atlassian.confluence.api.model.permissions.Target
Target.ContainerTarget, Target.IdTarget, Target.ModelObjectTarget
-
-
Field Summary
-
Fields inherited from class com.atlassian.confluence.api.model.permissions.Target
targetType
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(@Nullable Object o)
@NonNull Target.ModelObjectTarget
getContainer()
Get a target for the containing object - e.g.int
hashCode()
String
toString()
-
Methods inherited from class com.atlassian.confluence.api.model.permissions.Target
forChildrenOfContainer, forContentId, forModelObject, getTargetType, targetForModelObject, targetInContainer
-
-
-
-
Method Detail
-
getContainer
public @NonNull Target.ModelObjectTarget getContainer()
Get a target for the containing object - e.g. a Page containing Comments.getContainer().
Target.getTargetType()
will return the type for the containing object, e.g.TargetType.PAGE
.
-
-