public class RestOperations extends Object implements Operations
Constructor and Description |
---|
RestOperations(Operations operations) |
Modifier and Type | Method and Description |
---|---|
String |
getCantExecuteReason() |
boolean |
isAllowedToCreateVersion() |
boolean |
isAllowedToExecute() |
boolean |
isAllowedToSetVersionStatus() |
boolean |
isCanDelete() |
boolean |
isCanEdit() |
boolean |
isCanExecute() |
boolean |
isCanView() |
boolean |
isCanViewConfiguration() |
public RestOperations(@NotNull Operations operations)
public boolean isCanView()
isCanView
in interface Operations
public boolean isCanViewConfiguration()
isCanViewConfiguration
in interface Operations
public boolean isCanEdit()
isCanEdit
in interface Operations
public boolean isCanDelete()
isCanDelete
in interface Operations
public boolean isAllowedToExecute()
isAllowedToExecute
in interface Operations
public boolean isCanExecute()
isCanExecute
in interface Operations
public boolean isAllowedToCreateVersion()
isAllowedToCreateVersion
in interface Operations
public boolean isAllowedToSetVersionStatus()
isAllowedToSetVersionStatus
in interface Operations
@Nullable public String getCantExecuteReason()
getCantExecuteReason
in interface Operations
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.