org.scijava.app
Class AbstractApp

java.lang.Object
  extended by org.scijava.AbstractContextual
      extended by org.scijava.plugin.AbstractRichPlugin
          extended by 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

Constructor Summary
AbstractApp()
           
 
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.
 
Methods inherited from class org.scijava.plugin.AbstractRichPlugin
compareTo, getInfo, getPriority, setInfo, setPriority, toString
 
Methods inherited from class org.scijava.AbstractContextual
context, getContext, setContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.scijava.app.App
getArtifactId, getGroupId, getTitle
 
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
 

Constructor Detail

AbstractApp

public AbstractApp()
Method Detail

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.