Interface SpringService.DefinitionStages.WithConfiguration
-
- All Known Subinterfaces:
SpringService.Definition,SpringService.DefinitionStages.WithCreate
- Enclosing interface:
- SpringService.DefinitionStages
public static interface SpringService.DefinitionStages.WithConfigurationThe stage of a spring service definition allowing to specify the server configuration.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SpringService.DefinitionStages.WithCreatewithGitConfig(ConfigServerGitProperty gitConfig)Specifies the git repository for the spring service.SpringService.DefinitionStages.WithCreatewithGitUri(String uri)Specifies the git repository for the spring service.SpringService.DefinitionStages.WithCreatewithGitUriAndCredential(String uri, String username, String password)Specifies the git repository for the spring service.
-
-
-
Method Detail
-
withGitUri
SpringService.DefinitionStages.WithCreate withGitUri(String uri)
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
SpringService.DefinitionStages.WithCreate withGitConfig(ConfigServerGitProperty gitConfig)
Specifies the git repository for the spring service.- Parameters:
gitConfig- the configuration of the git repository- Returns:
- the next stage of spring service definition
-
-