org.javaswift.joss.command.mock.factory
Class AccountCommandFactoryMock

java.lang.Object
  extended by org.javaswift.joss.command.mock.factory.AccountCommandFactoryMock
All Implemented Interfaces:
AccountCommandFactory

public class AccountCommandFactoryMock
extends Object
implements AccountCommandFactory


Constructor Summary
AccountCommandFactoryMock(Swift swift)
           
 
Method Summary
 Access authenticate()
           
 AccountInformationCommand createAccountInformationCommand(Account account)
           
 AccountMetadataCommand createAccountMetadataCommand(Account account, Collection<? extends Header> headers)
           
 HashPasswordCommand createHashPasswordCommand(Account account, String hashPassword)
           
 ListContainersCommand createListContainersCommand(Account account, ListInstructions listInstructions)
           
 TenantCommand createTenantCommand(Account account)
           
 ContainerCommandFactory getContainerCommandFactory()
           
 String getOriginalHost()
           
 String getPrivateHost()
           
 String getPublicHost()
           
 Swift getSwift()
           
 boolean isTenantSupplied()
           
 void setPrivateHost(String privateHost)
           
 void setPublicHost(String publicHost)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AccountCommandFactoryMock

public AccountCommandFactoryMock(Swift swift)
Method Detail

setPublicHost

public void setPublicHost(String publicHost)
Specified by:
setPublicHost in interface AccountCommandFactory

setPrivateHost

public void setPrivateHost(String privateHost)
Specified by:
setPrivateHost in interface AccountCommandFactory

getPublicHost

public String getPublicHost()
Specified by:
getPublicHost in interface AccountCommandFactory

getPrivateHost

public String getPrivateHost()
Specified by:
getPrivateHost in interface AccountCommandFactory

getOriginalHost

public String getOriginalHost()
Specified by:
getOriginalHost in interface AccountCommandFactory

authenticate

public Access authenticate()
Specified by:
authenticate in interface AccountCommandFactory

createAccountInformationCommand

public AccountInformationCommand createAccountInformationCommand(Account account)
Specified by:
createAccountInformationCommand in interface AccountCommandFactory

createAccountMetadataCommand

public AccountMetadataCommand createAccountMetadataCommand(Account account,
                                                           Collection<? extends Header> headers)
Specified by:
createAccountMetadataCommand in interface AccountCommandFactory

createListContainersCommand

public ListContainersCommand createListContainersCommand(Account account,
                                                         ListInstructions listInstructions)
Specified by:
createListContainersCommand in interface AccountCommandFactory

createTenantCommand

public TenantCommand createTenantCommand(Account account)
Specified by:
createTenantCommand in interface AccountCommandFactory

createHashPasswordCommand

public HashPasswordCommand createHashPasswordCommand(Account account,
                                                     String hashPassword)
Specified by:
createHashPasswordCommand in interface AccountCommandFactory

getContainerCommandFactory

public ContainerCommandFactory getContainerCommandFactory()
Specified by:
getContainerCommandFactory in interface AccountCommandFactory

isTenantSupplied

public boolean isTenantSupplied()
Specified by:
isTenantSupplied in interface AccountCommandFactory

getSwift

public Swift getSwift()


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