Class ServerImpl
- java.lang.Object
-
- com.google.gerrit.server.api.config.ServerImpl
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.google.gerrit.extensions.api.config.Server
Server.NotImplemented
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConsistencyCheckInfo
checkConsistency(ConsistencyCheckInput in)
DiffPreferencesInfo
getDefaultDiffPreferences()
GeneralPreferencesInfo
getDefaultPreferences()
ServerInfo
getInfo()
String
getVersion()
DiffPreferencesInfo
setDefaultDiffPreferences(DiffPreferencesInfo in)
GeneralPreferencesInfo
setDefaultPreferences(GeneralPreferencesInfo in)
-
-
-
Method Detail
-
getVersion
public String getVersion() throws RestApiException
- Specified by:
getVersion
in interfaceServer
- Returns:
- Version of server.
- Throws:
RestApiException
-
getInfo
public ServerInfo getInfo() throws RestApiException
- Specified by:
getInfo
in interfaceServer
- Throws:
RestApiException
-
getDefaultPreferences
public GeneralPreferencesInfo getDefaultPreferences() throws RestApiException
- Specified by:
getDefaultPreferences
in interfaceServer
- Throws:
RestApiException
-
setDefaultPreferences
public GeneralPreferencesInfo setDefaultPreferences(GeneralPreferencesInfo in) throws RestApiException
- Specified by:
setDefaultPreferences
in interfaceServer
- Throws:
RestApiException
-
getDefaultDiffPreferences
public DiffPreferencesInfo getDefaultDiffPreferences() throws RestApiException
- Specified by:
getDefaultDiffPreferences
in interfaceServer
- Throws:
RestApiException
-
setDefaultDiffPreferences
public DiffPreferencesInfo setDefaultDiffPreferences(DiffPreferencesInfo in) throws RestApiException
- Specified by:
setDefaultDiffPreferences
in interfaceServer
- Throws:
RestApiException
-
checkConsistency
public ConsistencyCheckInfo checkConsistency(ConsistencyCheckInput in) throws RestApiException
- Specified by:
checkConsistency
in interfaceServer
- Throws:
RestApiException
-
-