public class InitFlags
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
boolean |
autoStart
Run the daemon (and open the web UI in a browser) after initialization.
|
org.eclipse.jgit.storage.file.FileBasedConfig |
cfg |
boolean |
deleteCaches
Delete all cache files
|
boolean |
deleteOnFailure
Recursively delete the site path if initialization fails.
|
boolean |
dev
Dev mode
|
boolean |
installAllPlugins |
java.util.List<java.lang.String> |
installPlugins |
boolean |
isNew
Site is being newly created
|
SecureStore |
sec |
boolean |
skipPlugins
Skip plugins
|
Constructor and Description |
---|
InitFlags(SitePaths site,
SecureStore secureStore,
java.util.List<java.lang.String> installPlugins,
java.lang.Boolean installAllPlugins) |
public boolean deleteOnFailure
public boolean isNew
public boolean autoStart
public boolean skipPlugins
public boolean deleteCaches
public boolean dev
public final org.eclipse.jgit.storage.file.FileBasedConfig cfg
public final SecureStore sec
public final java.util.List<java.lang.String> installPlugins
public final boolean installAllPlugins
@Inject public InitFlags(SitePaths site, SecureStore secureStore, java.util.List<java.lang.String> installPlugins, java.lang.Boolean installAllPlugins) throws java.io.IOException, org.eclipse.jgit.errors.ConfigInvalidException
java.io.IOException
org.eclipse.jgit.errors.ConfigInvalidException