Class EmulatorEdgeLifecycle
java.lang.Object
com.cloudforge.core.local.EmulatorEdgeLifecycle
Applies
EmulatorEdgeLifecycleAction to the shared nginx emulator edge.
Entry point for programmatic callers and EmulatorEdgeCli (which backs the
scripts/emulator-edge-*.sh wrappers in cloudforge-localstack and cloudforge-ministack).
Emulator start/stop also drives this via EmulatorLifecycle companion orchestration.
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanTrue unlessCFC_EMULATOR_COMPANIONSorCFC_EDGE_AUTOSTARTis false.Ensure edge is up and vhosts match current Docker publishes.static voidexecute(EmulatorEdgeLifecycleAction action) static voidexecute(EmulatorEdgeRuntime runtime, EmulatorEdgeLifecycleAction action) static void
-
Method Details
-
execute
- Throws:
IOException
-
execute
public static void execute(EmulatorEdgeRuntime runtime, EmulatorEdgeLifecycleAction action) throws IOException - Throws:
IOException
-
executeUnchecked
-
ensureRunningAndReconcile
Ensure edge is up and vhosts match current Docker publishes.- Throws:
IOException
-
autostartEnabled
public static boolean autostartEnabled()True unlessCFC_EMULATOR_COMPANIONSorCFC_EDGE_AUTOSTARTis false.
-