com.xebialabs.deployit.mapper.artifact
Class ConfigurationFilesToHostMapper
java.lang.Object
com.xebialabs.deployit.mapper.Mapper<S,M,T>
com.xebialabs.deployit.mapper.StepGeneratingMapper<ConfigurationFiles,ConfigurationFilesMapping,Host>
com.xebialabs.deployit.mapper.artifact.ConfigurationFilesToHostMapper
public class ConfigurationFilesToHostMapper
- extends StepGeneratingMapper<ConfigurationFiles,ConfigurationFilesMapping,Host>
Mapper that maps ConfigurationFiles CI's to hosts with ConfigurationFilesMapping CI's.
| Methods inherited from class com.xebialabs.deployit.mapper.Mapper |
getAddedMappings, getAffectedTargets, getAllTargets, getDeletedMappings, getModifiedMappings, getNewMappings, getNewTargets, getOldMappings, getOldTargets, init, setDefaults |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfigurationFilesToHostMapper
public ConfigurationFilesToHostMapper(Change<Deployment> c)
generateAdditionStepsForAddedMapping
protected void generateAdditionStepsForAddedMapping(ConfigurationFiles newSource,
ConfigurationFilesMapping m,
Host newTarget,
java.util.List<Step> steps)
- Description copied from class:
StepGeneratingMapper
- Must be implemented by a subclass to generate steps that add an artifact/a resource to the middleware when a
mapping is added.
- Specified by:
generateAdditionStepsForAddedMapping in class StepGeneratingMapper<ConfigurationFiles,ConfigurationFilesMapping,Host>
- Parameters:
newSource - the source of the new mapping. The value is identical to newMapping.getSource() but it is
provided separately so that the implementor of this method does not have to cast it.m - the new mappingnewTarget - the target of the new mapping. The value is identical to newMapping.getTarget() but it is
provided separately so that the implementor of this method does not have to cast it.steps - the list of steps to which the generated steps are to be added
generateDeletionStepsForDeletedMapping
protected void generateDeletionStepsForDeletedMapping(ConfigurationFiles oldSource,
ConfigurationFilesMapping m,
Host oldTarget,
java.util.List<Step> steps)
- Description copied from class:
StepGeneratingMapper
- Must be implemented by a subclass to generate steps that delete an artifact/a resource from the middleware when a
mapping is deleted.
- Specified by:
generateDeletionStepsForDeletedMapping in class StepGeneratingMapper<ConfigurationFiles,ConfigurationFilesMapping,Host>
- Parameters:
oldSource - the source of the old mapping. The value is identical to oldMapping.getSource() but it is
provided separately so that the implementor of this method does not have to cast it.m - the old mappingoldTarget - the target of the old mapping. The value is identical to oldMapping.getTarget() but it is
provided separately so that the implementor of this method does not have to cast it.steps - the list of steps to which the generated steps are to be added
Copyright © 2010. All Rights Reserved.