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 TypeFieldDescriptionboolean
Run the daemon (and open the web UI in a browser) after initialization.final org.eclipse.jgit.storage.file.FileBasedConfig
boolean
Delete all cache filesboolean
Recursively delete the site path if initialization fails.boolean
Dev modefinal boolean
boolean
Site is being newly createdfinal SecureStore
boolean
Skip 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:
IOException
org.eclipse.jgit.errors.ConfigInvalidException
-