org.scijava.app
Class AbstractApp
java.lang.Object
org.scijava.AbstractContextual
org.scijava.plugin.AbstractRichPlugin
org.scijava.app.AbstractApp
- All Implemented Interfaces:
- Comparable<Prioritized>, App, Contextual, HasPluginInfo, RichPlugin, SciJavaPlugin, Prioritized
- Direct Known Subclasses:
- SciJavaApp
public abstract class AbstractApp
- extends AbstractRichPlugin
- implements App
Abstract superclass of App
implementations.
- Author:
- Curtis Rueden
Method Summary |
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 |
getVersion()
Gets the version of the application. |
AbstractApp
public AbstractApp()
getVersion
public String getVersion()
- Description copied from interface:
App
- Gets the version of the application.
SciJava conforms to the Semantic
Versioning specification.
- Specified by:
getVersion
in interface App
- Returns:
- The application version, in
major.minor.micro
format.
getPOM
public POM getPOM()
- Description copied from interface:
App
- Gets the Maven POM containing metadata about the application.
- Specified by:
getPOM
in interface App
getManifest
public Manifest getManifest()
- Description copied from interface:
App
- Gets the manifest containing metadata about the application.
NB: This metadata may be null if run in a development environment.
- Specified by:
getManifest
in interface App
getInfo
public String getInfo(boolean mem)
- Description copied from interface:
App
- Gets a string with information about the application.
- Specified by:
getInfo
in interface App
- Parameters:
mem
- If true, memory usage information is included.
Copyright © 2009–2014 SciJava. All rights reserved.