Interface IOperationBean

All Known Implementing Classes:
OperationBean

public interface IOperationBean
Interface to set up an operation processing run
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the path to the file to be processed
    Get the absolute path the processed data should be saved as
    void
    setAxesNames(List<String>[] axesNames)
    Set axes names for each dimension of the dataset set
    void
    setDataDimensions(int[] dataDimensions)
    Set which dimensions of the dataset are the detector dimensions Not needed if the scan rank is set
    void
    setDataKey(String dataKey)
    Path to the node containing the unique keys for live processing
    void
    setDatasetPath(String datasetPath)
    Set the path to the dataset, or NXData node, to be processed
    void
    setDeleteProcessingFile(boolean deleteProcessingFile)
    Set whether the processing chain file should be deleted when processing is complete
    void
    setFilePath(String filePath)
    Set the path to the file to be processed
    default void
    setLinkParentEntry(boolean linkEntry)
    Set whether a link to the input data should be included in the processed
    default void
    setMonitorForOverwrite(boolean overwrite)
    Set whether the raw data is going to be overwritten
    void
    Set the name of the processing
    void
    setNumberOfCores(int numberOfCores)
    Set the number of core to be used
    void
    setOutputFilePath(String outputFilePath)
    Set the absolute path the processed data should be saved as
    void
    setProcessingPath(String processingPath)
    Set the path to the NeXus file containing the processing chain
    void
    setReadable(boolean readable)
    Sets whether the processed file should be readable while being written to
    void
    setRunDirectory(String runDirectory)
    Set the run directory for the logs
    void
    setScanRank(Integer scanRank)
    Set the rank of the scan Not needed if the data dimensions are set
    void
    setSlicing(String slicing)
    Set a string representation of the slicing of the dataset
    default void
    setTimeOut(int timeOut)
    Set the timeOut for live processing in ms
    void
    Set the Xmx value used for the processing runner
  • Method Details

    • setDataKey

      void setDataKey(String dataKey)
      Path to the node containing the unique keys for live processing
      Parameters:
      dataKey -
    • setFilePath

      void setFilePath(String filePath)
      Set the path to the file to be processed
      Parameters:
      filePath -
    • getFilePath

      String getFilePath()
      Get the path to the file to be processed
      Returns:
      filePath
    • setOutputFilePath

      void setOutputFilePath(String outputFilePath)
      Set the absolute path the processed data should be saved as
      Parameters:
      outputFilePath -
    • getOutputFilePath

      String getOutputFilePath()
      Get the absolute path the processed data should be saved as
      Returns:
      outputPath
    • setDatasetPath

      void setDatasetPath(String datasetPath)
      Set the path to the dataset, or NXData node, to be processed
      Parameters:
      datasetPath -
    • setSlicing

      void setSlicing(String slicing)
      Set a string representation of the slicing of the dataset
      Parameters:
      slicing -
    • setProcessingPath

      void setProcessingPath(String processingPath)
      Set the path to the NeXus file containing the processing chain
      Parameters:
      processingPath -
    • setAxesNames

      void setAxesNames(List<String>[] axesNames)
      Set axes names for each dimension of the dataset set
      Parameters:
      axesNames -
    • setDeleteProcessingFile

      void setDeleteProcessingFile(boolean deleteProcessingFile)
      Set whether the processing chain file should be deleted when processing is complete
      Parameters:
      deleteProcessingFile -
    • setXmx

      void setXmx(String xmx)
      Set the Xmx value used for the processing runner
      Parameters:
      xmx -
    • setDataDimensions

      void setDataDimensions(int[] dataDimensions)
      Set which dimensions of the dataset are the detector dimensions Not needed if the scan rank is set
      Parameters:
      dataDimensions -
    • setScanRank

      void setScanRank(Integer scanRank)
      Set the rank of the scan Not needed if the data dimensions are set
      Parameters:
      scanRank -
    • setReadable

      void setReadable(boolean readable)
      Sets whether the processed file should be readable while being written to
      Parameters:
      readable -
    • setName

      void setName(String name)
      Set the name of the processing
      Parameters:
      name -
    • setRunDirectory

      void setRunDirectory(String runDirectory)
      Set the run directory for the logs
      Parameters:
      runDirectory -
    • setNumberOfCores

      void setNumberOfCores(int numberOfCores)
      Set the number of core to be used
      Parameters:
      numberOfCores -
    • setTimeOut

      default void setTimeOut(int timeOut)
      Set the timeOut for live processing in ms
      Parameters:
      timeOut -
    • setLinkParentEntry

      default void setLinkParentEntry(boolean linkEntry)
      Set whether a link to the input data should be included in the processed
      Parameters:
      linkEntry -
    • setMonitorForOverwrite

      default void setMonitorForOverwrite(boolean overwrite)
      Set whether the raw data is going to be overwritten
      Parameters:
      overwrite -