Package com.atlassian.bamboo.deployments
Class OperationsImpl
- java.lang.Object
-
- com.atlassian.bamboo.deployments.OperationsImpl
-
- All Implemented Interfaces:
Operations
public class OperationsImpl extends Object implements Operations
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OperationsImpl.Builder
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable String
getCantExecuteReason()
boolean
isAllowedToCreateVersion()
boolean
isAllowedToExecute()
boolean
isAllowedToSetVersionStatus()
boolean
isCanDelete()
boolean
isCanEdit()
boolean
isCanExecute()
boolean
isCanView()
boolean
isCanViewConfiguration()
-
-
-
Method Detail
-
isCanView
public boolean isCanView()
- Specified by:
isCanView
in interfaceOperations
-
isCanViewConfiguration
public boolean isCanViewConfiguration()
- Specified by:
isCanViewConfiguration
in interfaceOperations
-
isCanEdit
public boolean isCanEdit()
- Specified by:
isCanEdit
in interfaceOperations
-
isCanDelete
public boolean isCanDelete()
- Specified by:
isCanDelete
in interfaceOperations
-
isAllowedToExecute
public boolean isAllowedToExecute()
- Specified by:
isAllowedToExecute
in interfaceOperations
- Returns:
- true if user is allowed to execute (effective permissions)
-
isCanExecute
public boolean isCanExecute()
- Specified by:
isCanExecute
in interfaceOperations
- Returns:
- true if user can actually execute (effective business logic)
-
getCantExecuteReason
@Nullable public @Nullable String getCantExecuteReason()
- Specified by:
getCantExecuteReason
in interfaceOperations
-
isAllowedToCreateVersion
public boolean isAllowedToCreateVersion()
- Specified by:
isAllowedToCreateVersion
in interfaceOperations
-
isAllowedToSetVersionStatus
public boolean isAllowedToSetVersionStatus()
- Specified by:
isAllowedToSetVersionStatus
in interfaceOperations
-
-