org.javaswift.joss.command.mock.object
Class DownloadObjectAsInputStreamCommandMock

java.lang.Object
  extended by org.javaswift.joss.command.mock.core.CommandMock<InputStream>
      extended by org.javaswift.joss.command.mock.object.DownloadObjectAsInputStreamCommandMock
All Implemented Interfaces:
Command<InputStream>, DownloadObjectAsInputStreamCommand

public class DownloadObjectAsInputStreamCommandMock
extends CommandMock<InputStream>
implements DownloadObjectAsInputStreamCommand


Field Summary
 
Fields inherited from class org.javaswift.joss.command.mock.core.CommandMock
account, allowErrorLog, container, LOG, object, swift
 
Constructor Summary
DownloadObjectAsInputStreamCommandMock(Swift swift, Account account, Container container, StoredObject object, DownloadInstructions downloadInstructions)
           
 
Method Summary
 SwiftResult<InputStream> callSwift()
           
 HttpStatusChecker[] getStatusCheckers()
           
 
Methods inherited from class org.javaswift.joss.command.mock.core.CommandMock
applyDelay, call, setAllowErrorLog
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.javaswift.joss.command.shared.core.Command
call
 

Constructor Detail

DownloadObjectAsInputStreamCommandMock

public DownloadObjectAsInputStreamCommandMock(Swift swift,
                                              Account account,
                                              Container container,
                                              StoredObject object,
                                              DownloadInstructions downloadInstructions)
Method Detail

callSwift

public SwiftResult<InputStream> callSwift()
Specified by:
callSwift in class CommandMock<InputStream>

getStatusCheckers

public HttpStatusChecker[] getStatusCheckers()
Specified by:
getStatusCheckers in class CommandMock<InputStream>


Copyright © 2012-2014 42 BV. All Rights Reserved.