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 booleanareGranted(Set<SpaceRight> rights)static SpaceApplicationRightsempty(String contextIdentifier)booleanequals(Object o)StringgetContextIdentifier()Map<SpaceRight,SpaceRightStatus>getRightStatuses()inthashCode()booleanisGranted(SpaceRight right)booleanisRequested(SpaceRight right)StringtoString()
-
-
-
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)
-
-