|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Platform
An interface for configuring a specific deployment platform, defined by criteria such as operating system, machine architecture or Java version.
Platforms discoverable at runtime must implement this interface and be
annotated with @Plugin
with attribute Plugin.type()
=
Platform
.class. While it possible to create a platform merely by
implementing this interface, it is encouraged to instead extend
AbstractPlatform
, for convenience.
Plugin
,
PlatformService
Method Summary | |
---|---|
void |
configure(PlatformService service)
Activates and configures the platform. |
boolean |
isTarget()
Determines whether the given platform is applicable to this runtime. |
String |
javaVendor()
Java Runtime Environment vendor to match. |
String |
javaVersion()
Minimum required Java Runtime Environment version. |
void |
open(URL url)
|
String |
osArch()
Operating system architecture to match. |
String |
osName()
Operating system name to match. |
String |
osVersion()
Minimum required operating system version. |
boolean |
registerAppMenus(Object menus)
Informs the platform of a UI's newly created application menu structure. |
Methods inherited from interface org.scijava.Disposable |
---|
dispose |
Method Detail |
---|
String javaVendor()
String javaVersion()
String osArch()
String osName()
String osVersion()
boolean isTarget()
void configure(PlatformService service)
void open(URL url) throws IOException
IOException
boolean registerAppMenus(Object menus)
menus
- The UI's newly created menu structure
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |