Schnittstelle ProcessExtensionPoint

Alle Superschnittstellen:
org.pf4j.ExtensionPoint, ExtensionProviderPoint

public interface ProcessExtensionPoint extends ExtensionProviderPoint
The ProcessExtensionPoint interface is an extension point for managing processes. It provides methods for creating, stopping, starting, killing, retrieving status, editing processes, and managing process consoles.
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    void
    attach(Process processIO, ProcessConsole consoleIO)
    Attaches a process to a console for input and output.
    Return Information about Host Machine (Allowing CPU pinning etc).
    void
    create(Process processIO)
    Creates a new process based on the provided Process object.
    void
    detach(Process processIO)
    Detaches a process from its console for input and output.
    void
    edit(Process processIO)
    Updates the specified process with new information.
    void
    execute(Process processIO, String commandIO)
    Executes a command using the given process and command string.
    void
    kill(Process processIO)
    Kills the process with the given ID.
    logback(Process processIO)
    Logs the process information using logback.
    void
    remove(Process processIO, boolean volumesIO, boolean forceIO)
    Removes the specified process.
    void
    start(Process processIO)
    Starts the process with the given ID.
    stats(Process processIO)
    Retrieves the statistics of a given process.
    status(Process processIO)
    Retrieves the status of the process.
    void
    stop(Process processIO)
    Stops the process with the given ID.
    volume(Volumes volumeIO)
    Get Volume of the specified process.

    Von Schnittstelle geerbte Methoden de.bytestore.hostinger.extension.ExtensionProviderPoint

    name
  • Methodendetails

    • create

      void create(Process processIO) throws Exception
      Creates a new process based on the provided Process object.
      Parameter:
      processIO - The Process object containing the necessary information for creating a new process.
      Löst aus:
      Exception
    • remove

      void remove(Process processIO, boolean volumesIO, boolean forceIO)
      Removes the specified process.
      Parameter:
      processIO - The process to be removed.
    • volume

      File volume(Volumes volumeIO)
      Get Volume of the specified process.
      Parameter:
      volumeIO -
      Gibt zurück:
    • stop

      void stop(Process processIO) throws Exception
      Stops the process with the given ID.
      Parameter:
      processIO - The ID of the process to be stopped.
      Löst aus:
      Exception
    • start

      void start(Process processIO)
      Starts the process with the given ID.
      Parameter:
      process - The process to be started.
    • kill

      void kill(Process processIO)
      Kills the process with the given ID.
      Parameter:
      processIO - The process to be killed.
    • status

      ProcessStatus status(Process processIO)
      Retrieves the status of the process.
      Parameter:
      processIO - The process to retrieve the status for.
      Gibt zurück:
      The status of the process.
    • edit

      void edit(Process processIO)
      Updates the specified process with new information.
      Parameter:
      processIO - The process to be updated.
    • attach

      void attach(Process processIO, ProcessConsole consoleIO)
      Attaches a process to a console for input and output.
      Parameter:
      processIO - The process to be attached.
      consoleIO - The console to be attached to the process.
    • detach

      void detach(Process processIO)
      Detaches a process from its console for input and output.
      Parameter:
      processIO - The process to be detached.
    • execute

      void execute(Process processIO, String commandIO)
      Executes a command using the given process and command string.
      Parameter:
      processIO - The process to execute the command with.
      commandIO - The command string to be executed.
    • stats

      ProcessStats stats(Process processIO)
      Retrieves the statistics of a given process.
      Parameter:
      processIO - The process to retrieve statistics from.
      Gibt zurück:
      The statistics of the given process.
    • logback

      String logback(Process processIO)
      Logs the process information using logback.
      Parameter:
      processIO - The process to log information from.
      Gibt zurück:
      A string representation of the logback output.
    • config

      Return Information about Host Machine (Allowing CPU pinning etc).
      Gibt zurück: