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 classOperationsImpl.Builder
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable StringgetCantExecuteReason()booleanisAllowedToCreateVersion()booleanisAllowedToExecute()booleanisAllowedToSetVersionStatus()booleanisCanDelete()booleanisCanEdit()booleanisCanExecute()booleanisCanView()booleanisCanViewConfiguration()
-
-
-
Method Detail
-
isCanView
public boolean isCanView()
- Specified by:
isCanViewin interfaceOperations
-
isCanViewConfiguration
public boolean isCanViewConfiguration()
- Specified by:
isCanViewConfigurationin interfaceOperations
-
isCanEdit
public boolean isCanEdit()
- Specified by:
isCanEditin interfaceOperations
-
isCanDelete
public boolean isCanDelete()
- Specified by:
isCanDeletein interfaceOperations
-
isAllowedToExecute
public boolean isAllowedToExecute()
- Specified by:
isAllowedToExecutein interfaceOperations- Returns:
- true if user is allowed to execute (effective permissions)
-
isCanExecute
public boolean isCanExecute()
- Specified by:
isCanExecutein interfaceOperations- Returns:
- true if user can actually execute (effective business logic)
-
getCantExecuteReason
@Nullable public @Nullable String getCantExecuteReason()
- Specified by:
getCantExecuteReasonin interfaceOperations
-
isAllowedToCreateVersion
public boolean isAllowedToCreateVersion()
- Specified by:
isAllowedToCreateVersionin interfaceOperations
-
isAllowedToSetVersionStatus
public boolean isAllowedToSetVersionStatus()
- Specified by:
isAllowedToSetVersionStatusin interfaceOperations
-
-