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() |
public RestOperations(@NotNull
Operations operations)
public boolean isCanView()
isCanView in interface Operationspublic boolean isCanEdit()
isCanEdit in interface Operationspublic boolean isCanDelete()
isCanDelete in interface Operationspublic boolean isAllowedToExecute()
isAllowedToExecute in interface Operationspublic boolean isCanExecute()
isCanExecute in interface Operationspublic boolean isAllowedToCreateVersion()
isAllowedToCreateVersion in interface Operationspublic boolean isAllowedToSetVersionStatus()
isAllowedToSetVersionStatus in interface Operations@Nullable public String getCantExecuteReason()
getCantExecuteReason in interface OperationsCopyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.