Class LocalBooter
- java.lang.Object
-
- com.xebialabs.deployit.booter.local.LocalBooter
-
public class LocalBooter extends java.lang.ObjectClass responsible for booting all the plugins. Responsible for: - Registering all the Descriptors - Setting up the Global Context.
-
-
Constructor Summary
Constructors Constructor Description LocalBooter()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidboot()Boot the XL Deploy Plugin System.static voidboot(java.io.File propertiesFile)Boot the XL Deploy Plugin System.static voidboot(java.io.File propertiesFile, GlobalContextManager globalContextManager)static voidboot(java.util.List<java.lang.String> packagesToScan)Boot the XL Deploy Plugin System.static voidbootWithoutGlobalContext()Boot the XL Deploy Plugin System, but without initializing the global context with user overridden default values.static voidbootWithoutGlobalContext(java.util.List<java.lang.String> packagesToScan)Boot the XL Deploy Plugin System, but without initializing the global context with user overridden default values.static booleanisInitialized()static voidreboot(java.io.File propertiesFile, GlobalContextManager globalContextManager)static voidrebootWithoutGlobalContext(java.util.List<java.lang.String> packagesToScan)
-
-
-
Method Detail
-
boot
public static void boot()
Boot the XL Deploy Plugin System. Setting everything up.
-
boot
public static void boot(java.io.File propertiesFile)
Boot the XL Deploy Plugin System. Setting everything up.
-
boot
public static void boot(java.io.File propertiesFile, GlobalContextManager globalContextManager)
-
boot
public static void boot(java.util.List<java.lang.String> packagesToScan)
Boot the XL Deploy Plugin System. Setting everything up. You can also specify extra packages to scan for classes with XL Deploy annotations.Note: The
LocalBooteris a singleton, changing the packages to scan after it has been instantiated has no effect.
-
bootWithoutGlobalContext
public static void bootWithoutGlobalContext()
Boot the XL Deploy Plugin System, but without initializing the global context with user overridden default values. Useful for tests where you want to have control which default values a CI has.Note: The
LocalBooteris a singleton, changing the packages to scan after it has been instantiated has no effect.
-
bootWithoutGlobalContext
public static void bootWithoutGlobalContext(java.util.List<java.lang.String> packagesToScan)
Boot the XL Deploy Plugin System, but without initializing the global context with user overridden default values. You can also specify extra packages to scan for classes with XL Deploy annotations. Useful for tests where you want to have control which default values a CI has.Note: The
LocalBooteris a singleton, changing the packages to scan after it has been instantiated has no effect.
-
rebootWithoutGlobalContext
public static void rebootWithoutGlobalContext(java.util.List<java.lang.String> packagesToScan)
-
reboot
public static void reboot(java.io.File propertiesFile, GlobalContextManager globalContextManager)
-
isInitialized
public static boolean isInitialized()
-
-