Class DefineOutputterWithEnergy

Object
AnchorBean<DefineOutputter>
DefineOutputter
DefineOutputterWithEnergy

public class DefineOutputterWithEnergy extends DefineOutputter
Like a Define but outputs also an energy-stack.

The following outputs are produced:

Output NameDefault?Description
outputs from EnergyStackWriter
  • Constructor Details

    • DefineOutputterWithEnergy

      public DefineOutputterWithEnergy()
  • Method Details

    • processInput

      public <S> void processInput(ExportSharedObjects input, InitializationContext context, DefineOutputterWithEnergy.ProcessWithEnergyStack<ImageInitialization, S> operation) throws OperationFailedException
      Processes the input with an energy stack.
      Type Parameters:
      S - return-type
      Parameters:
      input - the input to process
      context - the initialization context
      operation - the operation to perform
      Throws:
      OperationFailedException - if the operation fails
    • processInput

      public <S> S processInput(InitializationContext context, SharedObjects sharedObjects, Optional<Dictionary> dictionary, DefineOutputterWithEnergy.ProcessWithEnergyStack<ImageInitialization, S> operation) throws OperationFailedException
      Processes the input with an energy stack and shared objects.
      Type Parameters:
      S - return-type
      Parameters:
      context - the initialization context
      sharedObjects - the shared objects
      dictionary - an optional dictionary
      operation - the operation to perform
      Returns:
      the result of the processing
      Throws:
      OperationFailedException - if the operation fails
    • getStackEnergy

      public StackProvider getStackEnergy()
      The stack provider for the energy stack.
    • setStackEnergy

      public void setStackEnergy(StackProvider stackEnergy)
      The stack provider for the energy stack.
    • getDictionary

      public DictionaryProvider getDictionary()
      An optional dictionary provider.
    • setDictionary

      public void setDictionary(DictionaryProvider dictionary)
      An optional dictionary provider.