Class DefineOutputterWithEnergy

Object
org.anchoranalysis.bean.AnchorBean<DefineOutputter>
org.anchoranalysis.plugin.mpp.bean.define.DefineOutputter
org.anchoranalysis.plugin.mpp.bean.define.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

  • Method Details

    • processInput

      public <S> void processInput​(org.anchoranalysis.mpp.io.input.ExportSharedObjects input, org.anchoranalysis.experiment.io.InitializationContext context, DefineOutputterWithEnergy.ProcessWithEnergyStack<org.anchoranalysis.image.bean.nonbean.init.ImageInitialization,​S> operation) throws org.anchoranalysis.core.exception.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:
      org.anchoranalysis.core.exception.OperationFailedException - if the operation fails
    • processInput

      public <S> S processInput​(org.anchoranalysis.experiment.io.InitializationContext context, org.anchoranalysis.core.identifier.provider.store.SharedObjects sharedObjects, Optional<org.anchoranalysis.core.value.Dictionary> dictionary, DefineOutputterWithEnergy.ProcessWithEnergyStack<org.anchoranalysis.image.bean.nonbean.init.ImageInitialization,​S> operation) throws org.anchoranalysis.core.exception.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:
      org.anchoranalysis.core.exception.OperationFailedException - if the operation fails
    • getStackEnergy

      public org.anchoranalysis.image.bean.provider.stack.StackProvider getStackEnergy()
      The stack provider for the energy stack.
    • setStackEnergy

      public void setStackEnergy​(org.anchoranalysis.image.bean.provider.stack.StackProvider stackEnergy)
      The stack provider for the energy stack.
    • getDictionary

      public org.anchoranalysis.bean.shared.dictionary.DictionaryProvider getDictionary()
      An optional dictionary provider.
    • setDictionary

      public void setDictionary​(org.anchoranalysis.bean.shared.dictionary.DictionaryProvider dictionary)
      An optional dictionary provider.