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

info.kwarc.sally4.lmh.factories.LMH Maven / Gradle / Ivy

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