Package lu.kbra.modelizer_next.bootstrap
Class UpdateRuntimes
java.lang.Object
lu.kbra.modelizer_next.bootstrap.UpdateRuntimes
Factory methods for update runtime implementations used when no bootstrap is present.
-
Method Summary
Modifier and TypeMethodDescriptionstatic UpdateRuntimeReturns the instance during bootstrap/update processing.static voidinstall(UpdateRuntime updateRuntime) Creates an InstalledApplication value from an installed jar path.static booleanisActive()Checks whether active is enabled or applies during bootstrap/update processing.
-
Method Details
-
getInstance
Returns the instance during bootstrap/update processing.- Returns:
- the instance
-
install
Creates an InstalledApplication value from an installed jar path.- Parameters:
updateRuntime- update runtime value used by the operation
-
isActive
public static boolean isActive()Checks whether active is enabled or applies during bootstrap/update processing.- Returns:
trueif active is enabled or applies; otherwisefalse
-