integraal.services.InteGraalOps Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of brunner-integraal Show documentation
Show all versions of brunner-integraal Show documentation
InteGraal module for the BRunner project
package integraal.services;
import tools.service.metadata.IOperationMetadata;
import tools.service.metadata.OperationMetadataFactory;
/**
* Operations that are specific to InteGraal
*/
public enum InteGraalOps implements IOperationMetadata {
/** Encode input data -- CSV only. */
ENCODE_DATA("encode_data", "compute encoding of input data");
/** The identifier for the operation. */
private final IOperationMetadata metadata;
/**
*
* Constructor initializes metadata record
*
* @param serializationKey
* @param description
* @param recordTheMeasureTakenForThisOperation
*/
InteGraalOps(String serializationKey, String description, boolean recordTheMeasureTakenForThisOperation) {
metadata = OperationMetadataFactory.createMetadata(serializationKey, description,
recordTheMeasureTakenForThisOperation);
}
InteGraalOps(String serializationKey, String description) {
this(serializationKey, description, true);
}
@Override
public IOperationMetadata getMetadata() {
return metadata;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy