Class Reference

Object
AnchorBean<StackProvider>
InitializableBean<StackProvider, ImageInitialization>
ImageBean<StackProvider>
BeanProviderAsStackBase<StackProvider, Stack>
StackProvider
Reference
All Implemented Interfaces:
Provider<Stack>, ProviderAsStack

public class Reference extends StackProvider
Retrieves an existing stack.

The following types of objects are searched for a matching id, in this order:

  • stacks
  • channels
  • masks
Author:
Owen Feehan
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    Creates a new Reference with a specified identifier.
  • Method Summary

    Modifier and Type
    Method
    Description
    Stack
    get()
     
    The identifier of the stack to retrieve.
    void
    The identifier of the stack to retrieve.

    Methods inherited from class org.anchoranalysis.image.bean.provider.stack.StackProvider

    getAsStack

    Methods inherited from class org.anchoranalysis.bean.initializable.InitializableBean

    getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitialization

    Methods inherited from class org.anchoranalysis.bean.AnchorBean

    checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Reference

      public Reference(String id)
      Creates a new Reference with a specified identifier.
      Parameters:
      id - the identifier of the stack to retrieve
    • Reference

      public Reference()
  • Method Details

    • get

      public Stack get() throws ProvisionFailedException
      Throws:
      ProvisionFailedException
    • getId

      public String getId()
      The identifier of the stack to retrieve.
    • setId

      public void setId(String id)
      The identifier of the stack to retrieve.