All Downloads are FREE. Search and download functionalities are using the official Maven repository.

integraal.services.InteGraalOps Maven / Gradle / Ivy

There is a newer version: 1.0.5
Show newest version
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