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

org.drools.verifier.components.TextConsequence 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.CauseType;

public class TextConsequence extends VerifierComponent implements Consequence {

	private static int index = 0;
	private String text;

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

	public ConsequenceType getConsequenceType() {
		return ConsequenceType.TEXT;
	}

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

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

	public void setText(String text) {
		this.text = text;
	}

	public String getText() {
		return text;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy