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 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
      Description copied from interface: Provider
      Gets or creates an object of type T.
      Returns:
      the object returned by the provider.
      Throws:
      ProvisionFailedException - if the object cannot be returned.
    • getId

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

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