com.atlassian.bamboo.plan.artifact
Class ImmutableArtifactDefinitionListLazyReference

java.lang.Object
  extended by java.lang.ref.Reference<T>
      extended by java.lang.ref.WeakReference<T>
          extended by com.atlassian.util.concurrent.LazyReference<com.google.common.collect.ImmutableList<ImmutableArtifactDefinition>>
              extended by com.atlassian.bamboo.plan.artifact.ImmutableArtifactDefinitionListLazyReference
All Implemented Interfaces:
com.google.common.base.Supplier<com.google.common.collect.ImmutableList<ImmutableArtifactDefinition>>

public class ImmutableArtifactDefinitionListLazyReference
extends com.atlassian.util.concurrent.LazyReference<com.google.common.collect.ImmutableList<ImmutableArtifactDefinition>>

Calls to ImmutableArtifactDefinitionListLazyReference.get must be wrapped with Hibernate session.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.atlassian.util.concurrent.LazyReference
com.atlassian.util.concurrent.LazyReference.InitializationException
 
Constructor Summary
ImmutableArtifactDefinitionListLazyReference(ImmutableArtifactManager immutableArtifactManager, ImmutableJob job)
           
 
Method Summary
protected  com.google.common.collect.ImmutableList<ImmutableArtifactDefinition> create()
           
 
Methods inherited from class com.atlassian.util.concurrent.LazyReference
cancel, get, getInterruptibly, isInitialized
 
Methods inherited from class java.lang.ref.Reference
clear, enqueue, isEnqueued
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImmutableArtifactDefinitionListLazyReference

public ImmutableArtifactDefinitionListLazyReference(@NotNull
                                                    ImmutableArtifactManager immutableArtifactManager,
                                                    @NotNull
                                                    ImmutableJob job)
Method Detail

create

protected com.google.common.collect.ImmutableList<ImmutableArtifactDefinition> create()
                                                                               throws java.lang.Exception
Specified by:
create in class com.atlassian.util.concurrent.LazyReference<com.google.common.collect.ImmutableList<ImmutableArtifactDefinition>>
Throws:
java.lang.Exception


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.