Package com.google.gerrit.pgm.init.api
Class InitFlags
- java.lang.Object
-
- com.google.gerrit.pgm.init.api.InitFlags
-
public class InitFlags extends Object
Global variables used by the 'init' command.
-
-
Field Summary
Fields Modifier and Type Field 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 filesboolean
deleteOnFailure
Recursively delete the site path if initialization fails.boolean
dev
Dev modeboolean
installAllPlugins
List<String>
installPlugins
boolean
isNew
Site is being newly createdSecureStore
sec
boolean
skipPlugins
Skip plugins
-
-
-
Field Detail
-
deleteOnFailure
public boolean deleteOnFailure
Recursively delete the site path if initialization fails.
-
isNew
public boolean isNew
Site is being newly created
-
autoStart
public boolean autoStart
Run the daemon (and open the web UI in a browser) after initialization.
-
skipPlugins
public boolean skipPlugins
Skip plugins
-
deleteCaches
public boolean deleteCaches
Delete all cache files
-
dev
public boolean dev
Dev mode
-
cfg
public final org.eclipse.jgit.storage.file.FileBasedConfig cfg
-
sec
public final SecureStore sec
-
installAllPlugins
public final boolean installAllPlugins
-
-
Constructor Detail
-
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
-
-