Schnittstelle MachineExtensionPoint
- Alle Superschnittstellen:
org.pf4j.ExtensionPoint
,ExtensionProviderPoint
Interface for machine extension points.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungconfig()
Returns the MachineExtensionConfig for the machine extension point.Retrieves the log for the specified Machines object.void
Restarts the given Machines object.Calculates the statistics for a given machine.Retrieves the status of the specified Machines object by executing the status action using available machine extension points.void
Stops the given Machines object.Creates a VNCSocket for virtualized Machines.void
Send WOL Magic Packet to given Machines to Wake Up on Lan.Von Schnittstelle geerbte Methoden de.bytestore.hostinger.extension.ExtensionProviderPoint
name
-
Methodendetails
-
stats
Calculates the statistics for a given machine.- Parameter:
machineIO
- The Machines object representing the machine for which the statistics should be calculated.- Gibt zurück:
- The ProcessStats object containing the calculated statistics.
-
config
MachineExtensionConfig config()Returns the MachineExtensionConfig for the machine extension point.- Gibt zurück:
- The MachineExtensionConfig object representing the configuration for the machine extension.
-
vnc
Creates a VNCSocket for virtualized Machines.- Parameter:
virtualized
- the Machines object representing the virtualized machine- Gibt zurück:
- the VNCSocket object containing the information necessary for VNC connection (ticket, cert, port, hostname, user)
-
status
Retrieves the status of the specified Machines object by executing the status action using available machine extension points.- Parameter:
machinesIO
- the Machines object for which the status needs to be retrieved- Gibt zurück:
- the ProcessStatus representing the status of the specified Machines object
-
restart
Restarts the given Machines object.- Parameter:
machinesIO
- the Machines object that needs to be restarted
-
stop
Stops the given Machines object.- Parameter:
machinesIO
- The Machines object representing the machine to be stopped.
-
wol
Send WOL Magic Packet to given Machines to Wake Up on Lan.- Parameter:
machinesIO
-
-
log
Retrieves the log for the specified Machines object.- Parameter:
machinesIO
- The Machines object for which the log needs to be retrieved.- Gibt zurück:
- The log string for the specified Machines object.
-