Interface SpringService.DefinitionStages.WithConfiguration
- All Known Subinterfaces:
SpringService.Definition,SpringService.DefinitionStages.WithCreate
- Enclosing interface:
- SpringService.DefinitionStages
public static interface SpringService.DefinitionStages.WithConfiguration
The stage of a spring service definition allowing to specify the server configuration.
-
Method Summary
Modifier and TypeMethodDescriptionwithGitConfig(ConfigServerGitProperty gitConfig) Specifies the git repository for the spring service.withGitUri(String uri) Specifies the git repository for the spring service.withGitUriAndCredential(String uri, String username, String password) Specifies the git repository for the spring service.
-
Method Details
-
withGitUri
Specifies the git repository for the spring service.- Parameters:
uri- the uri of the git repository- Returns:
- the next stage of spring service definition
-
withGitUriAndCredential
SpringService.DefinitionStages.WithCreate withGitUriAndCredential(String uri, String username, String password) Specifies the git repository for the spring service.- Parameters:
uri- the uri of the git repositoryusername- the username of the private git repositorypassword- the password of the private git repository- Returns:
- the next stage of spring service definition
-
withGitConfig
Specifies the git repository for the spring service.- Parameters:
gitConfig- the configuration of the git repository- Returns:
- the next stage of spring service definition
-