com.atlassian.bamboo.deployments
Class OperationsImpl.Builder

java.lang.Object
  extended by com.atlassian.bamboo.deployments.OperationsImpl.Builder
Enclosing class:
OperationsImpl

public static class OperationsImpl.Builder
extends java.lang.Object


Constructor Summary
OperationsImpl.Builder()
           
 
Method Summary
 OperationsImpl.Builder allowedToCreateVersion(boolean allowedToCreateVersion)
           
 OperationsImpl.Builder allowedToExecute(boolean allowedToExecute)
           
 OperationsImpl.Builder allowedToSetVersionStatus(boolean allowedToSetVersionStatus)
           
 Operations build()
           
 OperationsImpl.Builder canDelete(boolean canDelete)
           
 OperationsImpl.Builder canEdit(boolean canEdit)
           
 OperationsImpl.Builder canExecute(boolean canExecute, java.lang.String cantExecuteReason)
          This method can be executed multiple times.
 OperationsImpl.Builder canView(boolean canView)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OperationsImpl.Builder

public OperationsImpl.Builder()
Method Detail

canView

public OperationsImpl.Builder canView(boolean canView)

canEdit

public OperationsImpl.Builder canEdit(boolean canEdit)

canDelete

public OperationsImpl.Builder canDelete(boolean canDelete)

allowedToExecute

public OperationsImpl.Builder allowedToExecute(boolean allowedToExecute)

canExecute

public OperationsImpl.Builder canExecute(boolean canExecute,
                                         java.lang.String cantExecuteReason)
This method can be executed multiple times. Final value will be result of logical AND over all calls. Reason of the first call with false value will be stored.


allowedToCreateVersion

public OperationsImpl.Builder allowedToCreateVersion(boolean allowedToCreateVersion)

allowedToSetVersionStatus

public OperationsImpl.Builder allowedToSetVersionStatus(boolean allowedToSetVersionStatus)

build

public Operations build()


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