public final class MailModelDeployer extends AbstractDeployer
Modifier and Type | Field and Description |
---|---|
protected ModelPersistenceService |
modelPersistenceService |
anyWorkObjectDefinitionService, LOG, maintenanceService
Constructor and Description |
---|
MailModelDeployer(ModelPersistenceService modelPersistenceService) |
Modifier and Type | Method and Description |
---|---|
protected static void |
checkForInactiveModelReferences(String resourceString,
List<com.edorasware.cloud.core.deploy.InactiveModelMatcher> inactiveModelMatchers,
String modelName) |
void |
deployModel(com.edorasware.commons.core.any.AnyWorkObjectDefinitionId appWorkItemDefinitionId,
com.edorasware.commons.core.any.AnyWorkObject workObject,
List<com.edorasware.cloud.core.deploy.InactiveModelMatcher> inactiveModelMatchers,
ReferenceMapper refMapper,
boolean isSystemApp,
String comment)
Deploys an model instance to create a new definition.
|
protected String |
getMappedResourceString(String resourceString,
com.edorasware.commons.core.any.AnyWorkObject workObject,
List<com.edorasware.cloud.core.deploy.InactiveModelMatcher> inactiveModelMatchers,
List<StringReplacementTask> replacementTasks) |
protected String |
getSimpleResourceString(com.edorasware.commons.core.any.AnyWorkObject workObject) |
protected String |
getVisModelResourceString(com.edorasware.commons.core.any.AnyWorkObject workObject) |
boolean |
supportsModel(com.edorasware.commons.core.any.AnyWorkObject model)
Checks whether a given model is supported by this instance.
|
getI18NProperties, getModelIdToDeploy, modelNeedsToBeDeployed, removeOldSystemDefinition, toPropertyList
protected final ModelPersistenceService modelPersistenceService
@Autowired public MailModelDeployer(ModelPersistenceService modelPersistenceService)
public boolean supportsModel(com.edorasware.commons.core.any.AnyWorkObject model)
ModelDeployer
model
- the model work objectpublic void deployModel(com.edorasware.commons.core.any.AnyWorkObjectDefinitionId appWorkItemDefinitionId, com.edorasware.commons.core.any.AnyWorkObject workObject, List<com.edorasware.cloud.core.deploy.InactiveModelMatcher> inactiveModelMatchers, ReferenceMapper refMapper, boolean isSystemApp, String comment)
ModelDeployer
appWorkItemDefinitionId
- the app work item definition idworkObject
- the work object for the model to be deployedinactiveModelMatchers
- defines the regular expressions to match models that are currently inactiverefMapper
- defines the mappings from 'model' id's/keys to the definition equivalentsisSystemApp
- true if the work object is part of a system app, false otherwisecomment
- the user's comment to the deployment actionprotected final String getMappedResourceString(String resourceString, com.edorasware.commons.core.any.AnyWorkObject workObject, List<com.edorasware.cloud.core.deploy.InactiveModelMatcher> inactiveModelMatchers, List<StringReplacementTask> replacementTasks)
protected static void checkForInactiveModelReferences(String resourceString, List<com.edorasware.cloud.core.deploy.InactiveModelMatcher> inactiveModelMatchers, String modelName)
protected String getSimpleResourceString(com.edorasware.commons.core.any.AnyWorkObject workObject)
protected String getVisModelResourceString(com.edorasware.commons.core.any.AnyWorkObject workObject)
Copyright © 2010 - 2017 edorasware ag. All Rights Reserved.