public class DefaultAutoDeploymentStrategy extends AbstractAutoDeploymentStrategy
Modifier and Type | Field and Description |
---|---|
protected Set<String> |
autoDeployTenants |
static String |
DEPLOYMENT_MODE
The deployment mode this strategy handles.
|
Constructor and Description |
---|
DefaultAutoDeploymentStrategy() |
DefaultAutoDeploymentStrategy(Set<String> autoDeployTenants) |
Modifier and Type | Method and Description |
---|---|
protected void |
deploy(String deploymentNameHint,
org.springframework.core.io.Resource[] resources,
CoreIdmEngine idmEngine,
String tenantId) |
protected void |
deployUserAccountDefinitions(String deploymentNameHint,
Collection<UserAccountDefinitionModel> userAccountDefinitionModels,
CoreIdmEngine idmEngine,
String tenantId) |
protected void |
deployUserDefinitions(String deploymentNameHint,
Collection<UserDefinitionModel> userDefinitionModels,
CoreIdmEngine idmEngine,
String tenantId) |
protected String |
getDeploymentMode()
Gets the deployment mode this strategy handles.
|
protected boolean |
isUserAccountDefinitionResource(org.springframework.core.io.Resource resource) |
protected boolean |
isUserDefinitionResource(org.springframework.core.io.Resource resource) |
void |
registerUserAccountDefinitions(String deploymentNameHint,
Collection<UserAccountDefinitionModel> userAccountDefinitionModels,
CoreIdmEngine idmEngine)
Performs deployment for the provided user account definition models, using the provided name as a hint.
|
void |
registerUserDefinitions(String deploymentNameHint,
Collection<UserDefinitionModel> userDefinitionModels,
CoreIdmEngine idmEngine)
Performs deployment for the provided user definition models, using the provided name as a hint.
|
void |
registerUserDefinitions(String deploymentNameHint,
org.springframework.core.io.Resource[] resources,
CoreIdmEngine idmEngine)
Performs deployment for the provided resources, using the provided name as a hint.
|
determineResourceName, handlesMode
public static final String DEPLOYMENT_MODE
protected String getDeploymentMode()
AbstractAutoDeploymentStrategy
getDeploymentMode
in class AbstractAutoDeploymentStrategy
public void registerUserDefinitions(String deploymentNameHint, org.springframework.core.io.Resource[] resources, CoreIdmEngine idmEngine)
AutoDeploymentStrategy
deploymentNameHint
- the hint for the name of deployment(s) performedresources
- the resources to be deployedidmEngine
- the idm engine to use for deployment(s)public void registerUserDefinitions(String deploymentNameHint, Collection<UserDefinitionModel> userDefinitionModels, CoreIdmEngine idmEngine)
AutoDeploymentStrategy
deploymentNameHint
- the hint for the name of deployment(s) performeduserDefinitionModels
- the user definition models to be deployedidmEngine
- the idm engine to use for deployment(s)public void registerUserAccountDefinitions(String deploymentNameHint, Collection<UserAccountDefinitionModel> userAccountDefinitionModels, CoreIdmEngine idmEngine)
AutoDeploymentStrategy
deploymentNameHint
- the hint for the name of deployment(s) performeduserAccountDefinitionModels
- the user account definition models to be deployedidmEngine
- the idm engine to use for deployment(s)protected void deploy(String deploymentNameHint, org.springframework.core.io.Resource[] resources, CoreIdmEngine idmEngine, String tenantId)
protected void deployUserDefinitions(String deploymentNameHint, Collection<UserDefinitionModel> userDefinitionModels, CoreIdmEngine idmEngine, String tenantId)
protected void deployUserAccountDefinitions(String deploymentNameHint, Collection<UserAccountDefinitionModel> userAccountDefinitionModels, CoreIdmEngine idmEngine, String tenantId)
protected boolean isUserDefinitionResource(org.springframework.core.io.Resource resource)
protected boolean isUserAccountDefinitionResource(org.springframework.core.io.Resource resource)
Copyright © 2019. All rights reserved.