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