com.atlassian.jira.mock.multitenant
Class MockMultiTenantComponentMapBuilder<T>

java.lang.Object
  extended by com.atlassian.jira.mock.multitenant.MockMultiTenantComponentMapBuilder<T>
All Implemented Interfaces:
com.atlassian.multitenant.MultiTenantComponentMapBuilder<T>

public class MockMultiTenantComponentMapBuilder<T>
extends Object
implements com.atlassian.multitenant.MultiTenantComponentMapBuilder<T>

Builder that doesn't build anything but just returns the map it was constructed with.


Constructor Summary
MockMultiTenantComponentMapBuilder(com.atlassian.multitenant.MultiTenantComponentMap<T> map)
           
 
Method Summary
 com.atlassian.multitenant.MultiTenantComponentMap<T> construct()
           
 com.atlassian.multitenant.MultiTenantComponentMapBuilder<T> registerListener(com.atlassian.multitenant.MultiTenantComponentMap.Registration choice)
           
 com.atlassian.multitenant.MultiTenantComponentMapBuilder<T> setDestroyer(com.atlassian.multitenant.MultiTenantDestroyer multiTenantDestroyer)
           
 com.atlassian.multitenant.MultiTenantComponentMapBuilder<T> setLazyLoad(com.atlassian.multitenant.MultiTenantComponentMap.LazyLoadStrategy lazyLoadStrategy)
           
 com.atlassian.multitenant.MultiTenantComponentMapBuilder<T> setNoTenantStrategy(com.atlassian.multitenant.MultiTenantComponentMap.NoTenantStrategy strategy)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockMultiTenantComponentMapBuilder

public MockMultiTenantComponentMapBuilder(com.atlassian.multitenant.MultiTenantComponentMap<T> map)
Method Detail

setDestroyer

public com.atlassian.multitenant.MultiTenantComponentMapBuilder<T> setDestroyer(com.atlassian.multitenant.MultiTenantDestroyer multiTenantDestroyer)
Specified by:
setDestroyer in interface com.atlassian.multitenant.MultiTenantComponentMapBuilder<T>

setLazyLoad

public com.atlassian.multitenant.MultiTenantComponentMapBuilder<T> setLazyLoad(com.atlassian.multitenant.MultiTenantComponentMap.LazyLoadStrategy lazyLoadStrategy)
Specified by:
setLazyLoad in interface com.atlassian.multitenant.MultiTenantComponentMapBuilder<T>

setNoTenantStrategy

public com.atlassian.multitenant.MultiTenantComponentMapBuilder<T> setNoTenantStrategy(com.atlassian.multitenant.MultiTenantComponentMap.NoTenantStrategy strategy)
Specified by:
setNoTenantStrategy in interface com.atlassian.multitenant.MultiTenantComponentMapBuilder<T>

registerListener

public com.atlassian.multitenant.MultiTenantComponentMapBuilder<T> registerListener(com.atlassian.multitenant.MultiTenantComponentMap.Registration choice)
Specified by:
registerListener in interface com.atlassian.multitenant.MultiTenantComponentMapBuilder<T>

construct

public com.atlassian.multitenant.MultiTenantComponentMap<T> construct()
Specified by:
construct in interface com.atlassian.multitenant.MultiTenantComponentMapBuilder<T>


Copyright © 2002-2012 Atlassian. All Rights Reserved.