public class InitFlags extends 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 |
List<String> |
installPlugins |
boolean |
isNew
Site is being newly created
|
SecureStore |
sec |
boolean |
skipPlugins
Skip plugins
|
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 boolean installAllPlugins
@Inject public InitFlags(SitePaths site, SecureStore secureStore, List<String> installPlugins, Boolean installAllPlugins) throws IOException, org.eclipse.jgit.errors.ConfigInvalidException
IOException
org.eclipse.jgit.errors.ConfigInvalidException