Interface IOperationBean
- All Known Implementing Classes:
OperationBean
public interface IOperationBean
Interface to set up an operation processing run
-
Method Summary
Modifier and TypeMethodDescriptionGet the path to the file to be processedGet the absolute path the processed data should be saved asvoidsetAxesNames(List<String>[] axesNames) Set axes names for each dimension of the dataset setvoidsetDataDimensions(int[] dataDimensions) Set which dimensions of the dataset are the detector dimensions Not needed if the scan rank is setvoidsetDataKey(String dataKey) Path to the node containing the unique keys for live processingvoidsetDatasetPath(String datasetPath) Set the path to the dataset, or NXData node, to be processedvoidsetDeleteProcessingFile(boolean deleteProcessingFile) Set whether the processing chain file should be deleted when processing is completevoidsetFilePath(String filePath) Set the path to the file to be processeddefault voidsetLinkParentEntry(boolean linkEntry) Set whether a link to the input data should be included in the processeddefault voidsetMonitorForOverwrite(boolean overwrite) Set whether the raw data is going to be overwrittenvoidSet the name of the processingvoidsetNumberOfCores(int numberOfCores) Set the number of core to be usedvoidsetOutputFilePath(String outputFilePath) Set the absolute path the processed data should be saved asvoidsetProcessingPath(String processingPath) Set the path to the NeXus file containing the processing chainvoidsetReadable(boolean readable) Sets whether the processed file should be readable while being written tovoidsetRunDirectory(String runDirectory) Set the run directory for the logsvoidsetScanRank(Integer scanRank) Set the rank of the scan Not needed if the data dimensions are setvoidsetSlicing(String slicing) Set a string representation of the slicing of the datasetdefault voidsetTimeOut(int timeOut) Set the timeOut for live processing in msvoidSet the Xmx value used for the processing runner
-
Method Details
-
setDataKey
Path to the node containing the unique keys for live processing- Parameters:
dataKey-
-
setFilePath
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
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
Set the path to the dataset, or NXData node, to be processed- Parameters:
datasetPath-
-
setSlicing
Set a string representation of the slicing of the dataset- Parameters:
slicing-
-
setProcessingPath
Set the path to the NeXus file containing the processing chain- Parameters:
processingPath-
-
setAxesNames
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
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
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
Set the name of the processing- Parameters:
name-
-
setRunDirectory
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-
-