2009-09-26 08:18:04 +02:00
|
|
|
package xsbti;
|
|
|
|
|
|
2009-12-18 23:46:57 +01:00
|
|
|
import java.io.File;
|
|
|
|
|
|
2013-03-12 17:46:05 +01:00
|
|
|
/**
|
|
|
|
|
* This represents an identification for the sbt launcher to load and run
|
|
|
|
|
* an sbt launched application using ivy.
|
|
|
|
|
*/
|
2009-09-26 08:18:04 +02:00
|
|
|
public interface ApplicationID
|
|
|
|
|
{
|
2013-03-12 17:46:05 +01:00
|
|
|
/**
|
|
|
|
|
* @return
|
|
|
|
|
* The Ivy orgnaization / Maven groupId where we can find the application to launch.
|
|
|
|
|
*/
|
2009-09-26 08:18:04 +02:00
|
|
|
public String groupID();
|
2013-03-12 17:46:05 +01:00
|
|
|
/**
|
|
|
|
|
* @return
|
|
|
|
|
* The ivy module name / Maven artifactId where we can find the application to launch.
|
|
|
|
|
*/
|
2009-09-26 08:18:04 +02:00
|
|
|
public String name();
|
2013-03-12 17:46:05 +01:00
|
|
|
/**
|
|
|
|
|
* @return
|
|
|
|
|
* The ivy/maven version of the module we should resolve.
|
|
|
|
|
*/
|
2009-09-26 08:18:04 +02:00
|
|
|
public String version();
|
|
|
|
|
|
2013-03-12 17:46:05 +01:00
|
|
|
/**
|
|
|
|
|
* @return
|
|
|
|
|
* The fully qualified name of the class that extends xsbti.AppMain
|
|
|
|
|
*/
|
2009-09-26 08:18:04 +02:00
|
|
|
public String mainClass();
|
2013-03-12 17:46:05 +01:00
|
|
|
/**
|
|
|
|
|
* @return
|
|
|
|
|
* Additional ivy components we should resolve with the main application artifacts.
|
|
|
|
|
*/
|
2009-09-26 08:18:04 +02:00
|
|
|
public String[] mainComponents();
|
2013-03-12 17:46:05 +01:00
|
|
|
/**
|
|
|
|
|
* @deprecated
|
|
|
|
|
* This method is no longer used if the crossVersionedValue method is available.
|
|
|
|
|
*
|
|
|
|
|
* @return
|
|
|
|
|
* True if the application is cross-versioned by binary-compatible version string,
|
|
|
|
|
* False if there is no cross-versioning.
|
|
|
|
|
*/
|
|
|
|
|
@Deprecated
|
2009-09-26 08:18:04 +02:00
|
|
|
public boolean crossVersioned();
|
2013-03-12 17:46:05 +01:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
* @since 0.13.0
|
|
|
|
|
* @return
|
|
|
|
|
* The type of cross-versioning the launcher should use to resolve this artifact.
|
|
|
|
|
*/
|
2013-01-27 02:13:25 +01:00
|
|
|
public CrossValue crossVersionedValue();
|
2009-12-18 23:46:57 +01:00
|
|
|
|
|
|
|
|
/** Files to add to the application classpath. */
|
|
|
|
|
public File[] classpathExtra();
|
2009-09-26 08:18:04 +02:00
|
|
|
}
|