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

fr.boreal.component_builder.operations.OperationNotPerformed Maven / Gradle / Ivy

There is a newer version: 1.6.2
Show newest version
package fr.boreal.component_builder.operations;

import java.io.Serializable;

import fr.boreal.component_builder.api.IOperationResult;
import fr.boreal.model.component.InteGraalKeywords;
import fr.boreal.model.component.InteGraalKeywords.Algorithms;

/**
 * records the operation which has not been performed
 * 
 * @param operation
 */
public record OperationNotPerformed(String operation) implements IOperationResult, Serializable {

	/**
	 * records the operation which has not been performed
	 * 
	 * @param operation
	 */
	public OperationNotPerformed(InteGraalKeywords.MonitoringOperations operation) {
		this(operation.toString());
	}

	/**
	 * records the algorithm which failed
	 * 
	 * @param algorithm
	 */
	public OperationNotPerformed(Algorithms algorithm) {
		this(algorithm.toString());
	}

	public String serializationString() {
		return "Operation non performed : " + operation;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy