2009-08-23 22:21:15 -04:00
|
|
|
package xsbti;
|
|
|
|
|
|
2011-03-01 09:44:45 -05:00
|
|
|
import java.io.File;
|
|
|
|
|
|
2009-09-26 02:18:04 -04:00
|
|
|
public interface Launcher
|
2009-08-23 22:21:15 -04:00
|
|
|
{
|
|
|
|
|
public static final int InterfaceVersion = 1;
|
2009-09-26 02:18:04 -04:00
|
|
|
public ScalaProvider getScala(String version);
|
2011-04-11 00:44:28 -04:00
|
|
|
public ScalaProvider getScala(String version, String reason);
|
2012-04-05 12:19:49 +02:00
|
|
|
public ScalaProvider getScala(String version, String reason, String scalaOrg);
|
2012-02-04 21:10:30 -05:00
|
|
|
public AppProvider app(ApplicationID id, String version);
|
2009-10-09 19:12:14 -04:00
|
|
|
public ClassLoader topLoader();
|
2009-10-14 18:05:53 -04:00
|
|
|
public GlobalLock globalLock();
|
2011-03-01 09:44:45 -05:00
|
|
|
public File bootDirectory();
|
2012-05-30 13:45:30 -04:00
|
|
|
/** Configured launcher repositories. */
|
2011-07-19 21:29:05 -04:00
|
|
|
public xsbti.Repository[] ivyRepositories();
|
2012-05-30 13:45:30 -04:00
|
|
|
/** The user has configured the launcher with the only repositories it wants to use for this applciation. */
|
|
|
|
|
public boolean isOverrideRepositories();
|
2011-03-01 09:44:45 -05:00
|
|
|
// null if none set
|
2011-03-12 10:28:53 -05:00
|
|
|
public File ivyHome();
|
2011-11-04 12:19:45 -04:00
|
|
|
public String[] checksums();
|
2012-05-30 13:45:30 -04:00
|
|
|
}
|