Class EmulatorLifecycle
java.lang.Object
com.cloudforge.core.local.EmulatorLifecycle
Applies
EmulatorLifecycleAction to a LocalEmulatorRuntime.
Companion services (StackPort simulated console + nginx emulator edge) are part of the
same lifecycle process: started after the emulator, stopped with it (edge only when no
emulator remains), and reported by EmulatorLifecycleAction.STATUS. Disable with
CFC_EMULATOR_COMPANIONS, CFC_STACKPORT_AUTOSTART, or CFC_EDGE_AUTOSTART.
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidexecute(DeploymentTarget target, EmulatorLifecycleAction action) static voidexecute(LocalEmulatorRuntime runtime, EmulatorLifecycleAction action) static voidexecuteUnchecked(DeploymentTarget target, EmulatorLifecycleAction action)
-
Method Details
-
execute
public static void execute(DeploymentTarget target, EmulatorLifecycleAction action) throws IOException - Throws:
IOException
-
execute
public static void execute(LocalEmulatorRuntime runtime, EmulatorLifecycleAction action) throws IOException - Throws:
IOException
-
executeUnchecked
-