Interface InnovatorApplication

All Known Implementing Classes:
InnovatorApplicationDefault

public interface InnovatorApplication
Every Java application that should be run as an Innovator application should commit to this interface.
Author:
borschet
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    info(String msg, Object... args)
    Protocols any messages at info level.
    void
    log(Level l, String msg, Object... args)
    Protocols any messages.
    void
    msg(String key, Object... args)
    Should be called to show the application user an NLS message.
    void
    Performs a clean up.
    void
    Initializes the application or provides attribute values that can control the behavior during initialization.
    void
    run()
    Contains the real work the application does.
     
    void
    warning(String key, Object... args)
    Shows the application user a warning message.
  • Method Details

    • onInit

      void onInit()
      Initializes the application or provides attribute values that can control the behavior during initialization.
    • onExit

      void onExit()
      Performs a clean up.
    • run

      void run() throws InoNlsException
      Contains the real work the application does.
      Throws:
      InoNlsException - If anything happens that causes the application to stop.
    • log

      void log(Level l, String msg, Object... args)
      Protocols any messages.
      Parameters:
      l - the logging level
      msg - a message that can contain message format variables
      args - the arguments for the message format
    • info

      void info(String msg, Object... args)
      Protocols any messages at info level.
      Parameters:
      msg - a message that can contain message format variables
      args - the arguments for the message format
    • msg

      void msg(String key, Object... args)
      Should be called to show the application user an NLS message.
      Parameters:
      key - a property file's message key
      args - the arguments for the message format
    • warning

      void warning(String key, Object... args)
      Shows the application user a warning message.
      Parameters:
      key - a property file's message key
      args - the arguments for the message format
    • Usage

      String Usage()
      Returns:
      A string containing the usage of the Innovator application.