com.atlassian.studio.jira.importer.impl.user
Class MethodExecutorImpl

java.lang.Object
  extended by com.atlassian.studio.jira.importer.impl.user.MethodExecutorImpl
All Implemented Interfaces:
MethodExecutor

public class MethodExecutorImpl
extends Object
implements MethodExecutor

This class takes a method to perform and provides multiple ways to execute it and handle the response.


Method Summary
 void andCheckResponse()
          Performs an HTTP request and discards the result.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

andCheckResponse

public void andCheckResponse()
                      throws com.atlassian.crowd.exception.ApplicationPermissionException,
                             com.atlassian.crowd.exception.InvalidAuthenticationException,
                             com.atlassian.crowd.exception.OperationFailedException
Performs an HTTP request and discards the result.

Specified by:
andCheckResponse in interface MethodExecutor
Throws:
com.atlassian.crowd.exception.OperationFailedException - if the operation failed for unknown reason
com.atlassian.crowd.exception.ApplicationPermissionException - if the application does not have permission to perform the operation
com.atlassian.crowd.exception.InvalidAuthenticationException


Copyright © 2002-2012 Atlassian. All Rights Reserved.