Class LoadableApp

java.lang.Object
com.kosdev.kos.core.service.app.LoadableApp

public class LoadableApp extends Object
Information about a manifest section that has a "kos.autostart." prefix. Any autostart applications are started during boot and the list of autostarted apps can be accessed from AppService. Non-autostart apps are intended to be managed by user code. The list of non-autostart apps can also be accessed from AppService.

This is merely a convenience wrapper around data that can be easily pulled from the manifest. However, discovering available apps is a common use case which is facilitated by AppService. For similar use cases where section name prefixes are used to identify common elements in the manifest that may also contain applications, it is sufficient to simply identify the section and the application kab to launch the application.

Since:
1
Version:
9
  • Method Details

    • getSectionName

      public String getSectionName()
      The name of the section.
      Since:
      1
    • getAppId

      public String getAppId()
      Return the id of the application within the section.
      Since:
      1
    • getApiVersion

      public int getApiVersion()
      Return the app api version.
      Since:
      9
    • getVersion

      public String getVersion()
      Return the version of the application from the kab
      Since:
      1
    • getSection

      public ResolvedManifestSection getSection()
      The section the application is part of.
      Since:
      1
    • getAppKab

      public KabFile getAppKab()
      Return the application kab.
      Since:
      1
    • getSdkList

      public List<SdkInfo> getSdkList()
      Return information about the sdk's that are packaged with this app. This can be used to determine which version of which sdk the app was built against. This can be used to investigate compatibility issues with actually installed applications.
      Since:
      9