Package com.google.gerrit.server.config
Class SitePaths
java.lang.Object
com.google.gerrit.server.config.SitePaths
Important paths within a
SitePath
.-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal Path
static final String
final Path
final Path
final Path
static final String
final Path
final Path
final Path
final Path
final Path
static final String
final Path
final Path
final boolean
true
ifsite_path
has not been initialized.final Path
final Path
final Path
final Path
final Path
final Path
final Path
final Path
final Path
final Path
final Path
final Path
final Path
final Path
final Path
final Path
final Path
final Path
final Path
final Path
final Path
final Path
static final String
final Path
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
CSS_FILENAME
- See Also:
-
HEADER_FILENAME
- See Also:
-
FOOTER_FILENAME
- See Also:
-
THEME_JS_FILENAME
- See Also:
-
site_path
-
bin_dir
-
etc_dir
-
lib_dir
-
tmp_dir
-
logs_dir
-
plugins_dir
-
db_dir
-
data_dir
-
mail_dir
-
hooks_dir
-
static_dir
-
index_dir
-
gerrit_sh
-
gerrit_service
-
gerrit_socket
-
gerrit_war
-
gerrit_config
-
secure_config
-
notedb_config
-
jgit_config
-
ssl_keystore
-
ssh_key
-
ssh_rsa
-
ssh_ecdsa_256
-
ssh_ecdsa_384
-
ssh_ecdsa_521
-
ssh_ed25519
-
peer_keys
-
site_css
-
site_header
-
site_theme_js
-
site_gitweb
-
isNew
public final boolean isNewtrue
ifsite_path
has not been initialized.
-
-
Constructor Details
-
SitePaths
- Throws:
IOException
-
-
Method Details
-
resolve
Resolve an absolute or relative path.Relative paths are resolved relative to the
site_path
.- Parameters:
path
- the path string to resolve. May be null.- Returns:
- the resolved path; null if
path
was null or empty.
-