com.atlassian.jira.sharing
Class SharedEntity.SharePermissions
java.lang.Object
com.atlassian.jira.sharing.SharedEntity.SharePermissions
- All Implemented Interfaces:
- Iterable<SharePermission>
- Enclosing interface:
- SharedEntity
@Immutable
public static final class SharedEntity.SharePermissions
- extends Object
- implements Iterable<SharePermission>
Encapsulates the permissions that a SharedEntity
has.
- Since:
- v3.13
GLOBAL
public static final SharedEntity.SharePermissions GLOBAL
PRIVATE
public static final SharedEntity.SharePermissions PRIVATE
SharedEntity.SharePermissions
public SharedEntity.SharePermissions(Set<? extends SharePermission> permissions)
iterator
public Iterator<SharePermission> iterator()
- Specified by:
iterator
in interface Iterable<SharePermission>
isGlobal
public boolean isGlobal()
isPrivate
public boolean isPrivate()
isEmpty
public boolean isEmpty()
size
public int size()
getPermissionSet
public Set<SharePermission> getPermissionSet()
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2002-2013 Atlassian. All Rights Reserved.