
net.intelie.liverig.plugin.widgets.PipesMacroService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of plugin-assets Show documentation
Show all versions of plugin-assets Show documentation
Asset framework for industries solutions
The newest version!
package net.intelie.liverig.plugin.widgets;
import net.intelie.live.Live;
import net.intelie.live.Query;
public class PipesMacroService {
private final Live.Queries queries;
public PipesMacroService(Live.Queries queries) {
this.queries = queries;
}
public boolean macroExists(String macroName) {
try {
queries.analyze(new Query("@@" + macroName));
return true;
} catch (Exception e) {
return false;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy