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

prerna.reactor.test.AbstractTestClass Maven / Gradle / Ivy

The newest version!
package prerna.reactor.test;

import java.util.HashMap;
import java.util.Map;

/**
 * This is just a internal class
 * so that when we compile to execute the assimilator
 * we can have a method to call based on the super that is 
 * assigned to the new class
 *
 */
public abstract class AbstractTestClass {

	Map variables = new HashMap<>();
	
	/**
	 * Method that return the evaluation of 
	 * the signature
	 * @return
	 */
	public void execute() {

	}
	
	public Map getVariables() {
		return this.variables;
	}
	
	public void addVariable(String var) {
		variables.put(var, 1);
	}
	
	public void addVariable(String var, int value) {
		variables.put(var, value);
	}
	
	public Object getVariable(String var) {
		return variables.get(var);
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy