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

org.drools.verifier.components.VerifierEvalDescr Maven / Gradle / Ivy

There is a newer version: 9.44.0.Final
Show newest version
package org.drools.verifier.components;

import org.drools.verifier.report.components.Cause;
import org.drools.verifier.report.components.CauseType;

/**
 *
 * @author Toni Rikkola
 */
public class VerifierEvalDescr extends VerifierComponent implements Cause {

	private static int index = 0;

	private String content;
	private String classMethodName;

	public VerifierEvalDescr() {
		super(index++);
	}

	@Override
	public VerifierComponentType getComponentType() {
		return VerifierComponentType.EVAL;
	}

	public CauseType getCauseType() {
		return CauseType.EVAL;
	}

	public String getClassMethodName() {
		return classMethodName;
	}

	public void setClassMethodName(String classMethodName) {
		this.classMethodName = classMethodName;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	@Override
	public String toString() {
		return "Eval, content: " + content;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy