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

com.patternity.core.metamodel.TextTemplate Maven / Gradle / Ivy

Go to download

Extensions of the RestFixture. An extension is a RestFixture with some specific/bespoke behaviour not generic enough to make it to the RestFixture itself.

The newest version!
package com.patternity.core.metamodel;

/**
 * Represents a textual element (comment, note, label, source code snippet...)
 * that contains variables in a format (e.g. $roleName$) that can be evaluated
 * later against the metamodel.
 * 
 * @author cyrille martraire
 */
public class TextTemplate implements Element, Definition {

	private final String text;

	public TextTemplate(String text) {
		this.text = text;
	}

	public String getText() {
		return text;
	}

	public String toString() {
		return "TextTemplate: " + getText();
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy