Package com.google.gerrit.pgm.init.api
Class InitFlags
java.lang.Object
com.google.gerrit.pgm.init.api.InitFlags
Global variables used by the 'init' command.
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanRun the daemon (and open the web UI in a browser) after initialization.final org.eclipse.jgit.storage.file.FileBasedConfigbooleanDelete all cache filesbooleanRecursively delete the site path if initialization fails.booleanDev modefinal booleanbooleanSite is being newly createdfinal SecureStorebooleanSkip plugins -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
deleteOnFailure
public boolean deleteOnFailureRecursively delete the site path if initialization fails. -
isNew
public boolean isNewSite is being newly created -
autoStart
public boolean autoStartRun the daemon (and open the web UI in a browser) after initialization. -
skipPlugins
public boolean skipPluginsSkip plugins -
deleteCaches
public boolean deleteCachesDelete all cache files -
dev
public boolean devDev mode -
cfg
public final org.eclipse.jgit.storage.file.FileBasedConfig cfg -
sec
-
installPlugins
-
installAllPlugins
public final boolean installAllPlugins
-
-
Constructor Details
-
InitFlags
@Inject public InitFlags(SitePaths site, SecureStore secureStore, List<String> installPlugins, Boolean installAllPlugins) throws IOException, org.eclipse.jgit.errors.ConfigInvalidException - Throws:
IOExceptionorg.eclipse.jgit.errors.ConfigInvalidException
-