cz.vity.freerapid.sandbox
Class FlowController

java.lang.Object
  extended by cz.vity.freerapid.sandbox.FlowController

public class FlowController
extends Object

Author:
Ladislav Vitasek

Constructor Summary
FlowController(HttpDownloadClient client)
           
 
Method Summary
 boolean isLogContentBeforeException()
          Getter for property 'logContentBeforeException'.
 void setLogContentBeforeException(boolean logContentBeforeException)
          Setter for property 'logContentBeforeException'.
 void throwCAPTCHAEntryMismatch()
           
 void throwException(ErrorDuringDownloadingException e)
           
 void throwFailedToLoadCAPTCHA(String message)
           
 void throwFileIsNotAvailableAnymore(String message)
           
 void throwInvalidURLOrServiceProblem()
           
 void throwInvalidURLOrServiceProblem(String message)
           
 void throwInvalidUsernameOrPassword(String message)
           
 void throwPluginImplementationError()
           
 void throwPluginImplementationError(String message)
           
 void throwServiceConnectionProblem(String message)
           
 void throwYouHaveToWait(String message, int seconds)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlowController

public FlowController(HttpDownloadClient client)
Method Detail

throwYouHaveToWait

public void throwYouHaveToWait(String message,
                               int seconds)
                        throws ErrorDuringDownloadingException
Throws:
ErrorDuringDownloadingException

throwFileIsNotAvailableAnymore

public void throwFileIsNotAvailableAnymore(String message)
                                    throws ErrorDuringDownloadingException
Throws:
ErrorDuringDownloadingException

throwInvalidUsernameOrPassword

public void throwInvalidUsernameOrPassword(String message)
                                    throws ErrorDuringDownloadingException
Throws:
ErrorDuringDownloadingException

throwCAPTCHAEntryMismatch

public void throwCAPTCHAEntryMismatch()
                               throws ErrorDuringDownloadingException
Throws:
ErrorDuringDownloadingException

throwServiceConnectionProblem

public void throwServiceConnectionProblem(String message)
                                   throws ErrorDuringDownloadingException
Throws:
ErrorDuringDownloadingException

throwInvalidURLOrServiceProblem

public void throwInvalidURLOrServiceProblem(String message)
                                     throws ErrorDuringDownloadingException
Throws:
ErrorDuringDownloadingException

throwInvalidURLOrServiceProblem

public void throwInvalidURLOrServiceProblem()
                                     throws ErrorDuringDownloadingException
Throws:
ErrorDuringDownloadingException

throwPluginImplementationError

public void throwPluginImplementationError()
                                    throws ErrorDuringDownloadingException
Throws:
ErrorDuringDownloadingException

throwPluginImplementationError

public void throwPluginImplementationError(String message)
                                    throws ErrorDuringDownloadingException
Throws:
ErrorDuringDownloadingException

throwFailedToLoadCAPTCHA

public void throwFailedToLoadCAPTCHA(String message)
                              throws ErrorDuringDownloadingException
Throws:
ErrorDuringDownloadingException

throwException

public void throwException(ErrorDuringDownloadingException e)
                    throws ErrorDuringDownloadingException
Throws:
ErrorDuringDownloadingException

isLogContentBeforeException

public boolean isLogContentBeforeException()
Getter for property 'logContentBeforeException'.

Returns:
Value for property 'logContentBeforeException'.

setLogContentBeforeException

public void setLogContentBeforeException(boolean logContentBeforeException)
Setter for property 'logContentBeforeException'.

Parameters:
logContentBeforeException - Value to set for property 'logContentBeforeException'.