Class EmulatorEdgeLifecycle
java.lang.Object
com.cloudforge.core.local.EmulatorEdgeLifecycle
Applies
EmulatorEdgeLifecycleAction to the shared nginx emulator edge.
Preferred entry for Maven goals and programmatic callers. 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.
-