|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface App
Metadata about a SciJava-based application, used by the AppService.
Applications discoverable at runtime must implement this interface and be
annotated with @Plugin with attribute Plugin.type() =
App.class. While it possible to create an application merely by
implementing this interface, it is encouraged to instead extend
AbstractApp, for convenience.
Plugin,
AppService| Method Summary | |
|---|---|
void |
about()
Displays information about the application. |
String |
getArtifactId()
The Maven artifactId of the application. |
File |
getBaseDirectory()
Gets the application's root directory. |
String |
getGroupId()
The Maven groupId of the application. |
String |
getInfo(boolean mem)
Gets a string with information about the application. |
Manifest |
getManifest()
Gets the manifest containing metadata about the application. |
POM |
getPOM()
Gets the Maven POM containing metadata about the application. |
String |
getSystemProperty()
A system property which, if set, overrides the base directory of the application. |
String |
getTitle()
Gets the title of the application. |
String |
getVersion()
Gets the version of the application. |
void |
prefs()
Displays application preferences. |
void |
quit()
Quits the application. |
| Methods inherited from interface org.scijava.Contextual |
|---|
context, getContext, setContext |
| Methods inherited from interface org.scijava.Prioritized |
|---|
getPriority, setPriority |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Methods inherited from interface org.scijava.plugin.HasPluginInfo |
|---|
getInfo, setInfo |
| Method Detail |
|---|
String getTitle()
String getGroupId()
groupId of the application.
String getArtifactId()
artifactId of the application.
POM getPOM()
Manifest getManifest()
NB: This metadata may be null if run in a development environment.
String getInfo(boolean mem)
mem - If true, memory usage information is included.String getSystemProperty()
File getBaseDirectory()
void about()
void prefs()
void quit()
String getVersion()
SciJava conforms to the Semantic Versioning specification.
getVersion in interface Versionedmajor.minor.micro format.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||