|
|||||||||
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 | |
---|---|
String |
getArtifactId()
The Maven artifactId of the application. |
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 |
getTitle()
Gets the title of the application. |
String |
getVersion()
Gets the version of 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 getVersion()
SciJava conforms to the Semantic Versioning specification.
major.minor.micro
format.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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |