Class SpaceApplicationRights
- java.lang.Object
-
- jetbrains.buildServer.serverSide.oauth.space.pojo.SpaceApplicationRights
-
public class SpaceApplicationRights extends Object
-
-
Constructor Summary
Constructors Constructor Description SpaceApplicationRights(String contextIdentifier, Map<SpaceRight,SpaceRightStatus> rightStatuses)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
areGranted(Set<SpaceRight> rights)
static SpaceApplicationRights
empty(String contextIdentifier)
boolean
equals(Object o)
String
getContextIdentifier()
Map<SpaceRight,SpaceRightStatus>
getRightStatuses()
int
hashCode()
boolean
isGranted(SpaceRight right)
boolean
isRequested(SpaceRight right)
String
toString()
-
-
-
Constructor Detail
-
SpaceApplicationRights
public SpaceApplicationRights(@NotNull String contextIdentifier, @NotNull Map<SpaceRight,SpaceRightStatus> rightStatuses)
-
-
Method Detail
-
empty
public static SpaceApplicationRights empty(@NotNull String contextIdentifier)
-
getContextIdentifier
@NotNull public String getContextIdentifier()
-
getRightStatuses
@NotNull public Map<SpaceRight,SpaceRightStatus> getRightStatuses()
-
isGranted
public boolean isGranted(@NotNull SpaceRight right)
-
isRequested
public boolean isRequested(@NotNull SpaceRight right)
-
areGranted
public boolean areGranted(@NotNull Set<SpaceRight> rights)
-
-