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

prerna.reactor.insights.SetInsightConfigReactor Maven / Gradle / Ivy

The newest version!
package prerna.reactor.insights;

import prerna.reactor.AbstractReactor;
import prerna.sablecc2.om.PixelOperationType;
import prerna.sablecc2.om.nounmeta.NounMetadata;

public class SetInsightConfigReactor extends AbstractReactor {

	public static final String INSIGHT_CONFIG = "$INSIGHT_CONFIG";
	
	@Override
	public NounMetadata execute() {
		NounMetadata noun = this.curRow.getNoun(0);
		// this is just an echo, where i send it back to the FE
		NounMetadata data = new NounMetadata(noun.getValue(), noun.getNounType(), PixelOperationType.INSIGHT_CONFIG);
		this.insight.getVarStore().put(INSIGHT_CONFIG, data);
		return data;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy