Klasse ProcessHandler

java.lang.Object
de.bytestore.hostinger.handler.ProcessHandler

public class ProcessHandler extends Object
  • Feldübersicht

    Felder
    Modifizierer und Typ
    Feld
    Beschreibung
    protected static final org.slf4j.Logger
     
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
     
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    static void
    attach(Process processIO, ProcessConsole listenerIO)
    Attaches a Process Console to a process by invoking the attach method for all Process Listeners.
    static void
    create(Process processIO)
    Creates a new process by executing the create method for all Process Listeners.
    static void
    execute(Process processIO, String commandIO)
    Executes a command for a process by invoking the execute method for all Process Listeners.
    static boolean
    exitsInDb(io.jmix.core.DataManager manager, Process entity)
    This method checks if the given entity exists in the database.
    getConfig(String providerIO)
    Retrieves the configuration for the specified provider.
    Return all ExtensionPoints for Process API.
    static String
    logback(Process processIO)
    Retrieves the logback configuration for a process by invoking the logback method for all Process Listeners.
    static void
    remove(Process processIO)
    Removes the given process by executing the remove method for all Process Listeners.
    static void
    start(Process processIO)
    Starts the given process by executing the start method for all Process Listeners.
    stats(Process processIO)
    Returns the statistics of a process by invoking the stats method for all Process Listeners.
    status(Process processIO)
    Retrieves the status of the given process by executing the status method for all Process Listeners.
    static void
    stop(Process processIO)
    Stops the given process by executing the stop method for all Process Listeners.
    static File
    volume(Volumes volumeIO)
    Retrieves the volume for the specified Volumes object.

    Von Klasse geerbte Methoden java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Felddetails

    • log

      protected static final org.slf4j.Logger log
  • Konstruktordetails

    • ProcessHandler

      public ProcessHandler()
  • Methodendetails

    • list

      public static List<ProcessExtensionPoint> list()
      Return all ExtensionPoints for Process API.
      Gibt zurück:
    • start

      public static void start(Process processIO) throws Exception
      Starts the given process by executing the start method for all Process Listeners.
      Parameter:
      processIO - the process to start
      Löst aus:
      Exception
    • stop

      public static void stop(Process processIO) throws Exception
      Stops the given process by executing the stop method for all Process Listeners.
      Parameter:
      processIO - the process to stop
      Löst aus:
      Exception
    • status

      public static ProcessStatus status(Process processIO) throws Exception
      Retrieves the status of the given process by executing the status method for all Process Listeners.
      Parameter:
      processIO - the process for which to retrieve the status
      Gibt zurück:
      the status of the process
      Löst aus:
      Exception
    • create

      public static void create(Process processIO)
      Creates a new process by executing the create method for all Process Listeners.
      Parameter:
      processIO - the process to be created
    • execute

      public static void execute(Process processIO, String commandIO)
      Executes a command for a process by invoking the execute method for all Process Listeners.
      Parameter:
      processIO - the process for which the command is to be executed
      commandIO - the command to be executed for the process
    • attach

      public static void attach(Process processIO, ProcessConsole listenerIO)
      Attaches a Process Console to a process by invoking the attach method for all Process Listeners.
      Parameter:
      processIO - the process to which the console is to be attached
      listenerIO - the ProcessConsole to be attached to the process
    • stats

      public static ProcessStats stats(Process processIO)
      Returns the statistics of a process by invoking the stats method for all Process Listeners.
      Parameter:
      processIO - the process for which the statistics are to be retrieved
      Gibt zurück:
      the ProcessStats object containing the statistics of the process
    • logback

      public static String logback(Process processIO)
      Retrieves the logback configuration for a process by invoking the logback method for all Process Listeners.
      Parameter:
      processIO - the process for which the logback configuration is to be retrieved
      Gibt zurück:
      the logback configuration as a string
    • exitsInDb

      public static boolean exitsInDb(io.jmix.core.DataManager manager, Process entity)
      This method checks if the given entity exists in the database.
      Parameter:
      manager - The data manager for accessing the database.
      entity - The entity to check for existence in the database.
      Gibt zurück:
      true if the entity exists in the database, false otherwise.
    • volume

      public static File volume(Volumes volumeIO)
      Retrieves the volume for the specified Volumes object.
      Parameter:
      volumeIO - the Volumes object for which to retrieve the volume
      Gibt zurück:
      the File representing the volume
    • remove

      public static void remove(Process processIO)
      Removes the given process by executing the remove method for all Process Listeners.
      Parameter:
      processIO - the process to remove
    • getConfig

      public static ProcessExtensionConfig getConfig(String providerIO)
      Retrieves the configuration for the specified provider.
      Parameter:
      providerIO - the provider for which to retrieve the configuration
      Gibt zurück:
      the configuration for the specified provider