![JAR search and dependency download from the Maven repository](/logo.png)
info.kwarc.sally4.lmh.factories.LMH Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mhw-base Show documentation
Show all versions of mhw-base Show documentation
Implements the interaction of assigning a MathHub document to a Worker.
The newest version!
package info.kwarc.sally4.lmh.factories;
import info.kwarc.sally4.os.events.EventBusContext;
import java.io.File;
import org.apache.commons.exec.ExecuteStreamHandler;
public interface LMH {
final public static String lmhid = "lmhid";
final public static String rootPathId = "rootPath";
String getLMHId();
File getLMHRootFile();
File getRepoRootFile();
String[] getInstalledRepositories();
String[] getDependencies(String repo);
String[] getAllDependencies(String repo);
boolean isRepoInstalled(String filePath);
void installRepo(String filePath);
String getRepoFromFilePath(String filePath);
String getAbsolutePath(String filePath);
void smsUpdate();
EventBusContext watchFiles(String repo, String extension);
String getEnv();
boolean hasWriteAccess(String filePath);
String getRelativePath(String absolutePath);
void execLMH(File cwd, String[] command, ExecuteStreamHandler outHandlers);
void execLMH(File cwd, String[] command);
String getMHWID();
void setMHWID(String mhwid);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy