| java.lang.Object | 
    
    
    
        
            |    ↳ | 
        
        com.atlassian.bitbucket.web.conditions.CanDeclinePullRequestCondition | 
    
    
    
Class Overview
Verifies that the current user is allowed to decline the current pull request
 
Summary
| Public Methods | 
	 
    
        | 
            
            
            
            
            
            
            void
         | 
        
        init(Map<String, String> params)
        
   | 
	 
    
        | 
            
            
            
            
            
            
            boolean
         | 
        
        shouldDisplay(Map<String, Object> context)
        
   | 
| 
  [Expand]
   Inherited Methods  | 
   
From class
  java.lang.Object
  
   
  
    
    
	 
    
        | 
            
            
            
            
            
            
            Object
         | 
        
        clone()
        
   |  
	 
    
        | 
            
            
            
            
            
            
            boolean
         | 
        
        equals(Object arg0)
        
   |  
	 
    
        | 
            
            
            
            
            
            
            void
         | 
        
        finalize()
        
   |  
	 
    
        | 
            
            
            
            final
            
            
            Class<?>
         | 
        
        getClass()
        
   |  
	 
    
        | 
            
            
            
            
            
            
            int
         | 
        
        hashCode()
        
   |  
	 
    
        | 
            
            
            
            final
            
            
            void
         | 
        
        notify()
        
   |  
	 
    
        | 
            
            
            
            final
            
            
            void
         | 
        
        notifyAll()
        
   |  
	 
    
        | 
            
            
            
            
            
            
            String
         | 
        
        toString()
        
   |  
	 
    
        | 
            
            
            
            final
            
            
            void
         | 
        
        wait(long arg0, int arg1)
        
   |  
	 
    
        | 
            
            
            
            final
            
            
            void
         | 
        
        wait(long arg0)
        
   |  
	 
    
        | 
            
            
            
            final
            
            
            void
         | 
        
        wait()
        
   |  
 
   
 
 | 
   
From interface
  com.atlassian.plugin.web.Condition
  
   
  
    
    
	 
    
        | 
            
            
            
            
            
            
            void
         | 
        
        init(Map<String, String> arg0)
        
   |  
	 
    
        | 
            
            
            
            
            
            
            boolean
         | 
        
        shouldDisplay(Map<String, Object> arg0)
        
   |  
 
   
 
 | 
 
Constants
    
      
        public
        static
        final
        String
      
        PULL_REQUEST
    
      
        
        
  
      
    
      
  
    
        
        Constant Value: 
        
            
                "pullRequest"
            
        
        
    
     
 
    
      
        public
        static
        final
        String
      
        REPOSITORY
    
      
        
        
  
      
    
      
  
    
        
        Constant Value: 
        
            
                "repository"
            
        
        
    
     
 
Fields
Public Constructors
Public Methods
    
      
        
        public
        
        
        
        
        void
      
      init
      (Map<String, String> params)
    
      
    
 
    
      
        
        public
        
        
        
        
        boolean
      
      shouldDisplay
      (Map<String, Object> context)
    
      
    
 
Protected Methods
    
      
        
        protected
        
        
        
        
        boolean
      
      hasEditPermission
      (Map<String, Object> context)
    
      
    
 
    
      
        
        protected
        
        
        
        
        boolean
      
      isAuthorOfPullRequest
      (Map<String, Object> context)