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

io.toast.tk.action.interpret.web.WebClickInterpret Maven / Gradle / Ivy

The newest version!
package io.toast.tk.action.interpret.web;

import io.toast.tk.core.agent.interpret.WebEventRecord;
import io.toast.tk.dao.domain.impl.repository.ProjectImpl;
import io.toast.tk.swing.agent.interpret.MongoRepositoryCacheWrapper;


public class WebClickInterpret extends AbstractInterpretationProvider{

	public WebClickInterpret(MongoRepositoryCacheWrapper mongoRepoManager) {
		super(mongoRepoManager);
	}

	@Override
	public String getSentence(
		WebEventRecord event, ProjectImpl project) {
		return "Click on *" + getLabel(event, project) + "*";
	}

	@Override
	public String convertToKnowType(String type) {
		return type;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy