com.atlassian.bamboo.deployments
Class OperationsImpl

java.lang.Object
  extended by com.atlassian.bamboo.deployments.OperationsImpl
All Implemented Interfaces:
Operations

public class OperationsImpl
extends java.lang.Object
implements Operations


Nested Class Summary
static class OperationsImpl.Builder
           
 
Method Summary
 java.lang.String getCantExecuteReason()
           
 boolean isAllowedToCreateVersion()
           
 boolean isAllowedToExecute()
           
 boolean isAllowedToSetVersionStatus()
           
 boolean isCanDelete()
           
 boolean isCanEdit()
           
 boolean isCanExecute()
           
 boolean isCanView()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isCanView

public boolean isCanView()
Specified by:
isCanView in interface Operations

isCanEdit

public boolean isCanEdit()
Specified by:
isCanEdit in interface Operations

isCanDelete

public boolean isCanDelete()
Specified by:
isCanDelete in interface Operations

isAllowedToExecute

public boolean isAllowedToExecute()
Specified by:
isAllowedToExecute in interface Operations
Returns:
true if user is allowed to execute (effective permissions)

isCanExecute

public boolean isCanExecute()
Specified by:
isCanExecute in interface Operations
Returns:
true if user can actually execute (effective business logic)

getCantExecuteReason

@Nullable
public java.lang.String getCantExecuteReason()
Specified by:
getCantExecuteReason in interface Operations

isAllowedToCreateVersion

public boolean isAllowedToCreateVersion()
Specified by:
isAllowedToCreateVersion in interface Operations

isAllowedToSetVersionStatus

public boolean isAllowedToSetVersionStatus()
Specified by:
isAllowedToSetVersionStatus in interface Operations


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.