com.xebialabs.deployit.mapper.artifact
Class LibrariesToHostMapper
java.lang.Object
com.xebialabs.deployit.mapper.Mapper<S,M,T>
com.xebialabs.deployit.mapper.StepGeneratingMapper<Libraries,LibrariesMapping,Host>
com.xebialabs.deployit.mapper.artifact.LibrariesToHostMapper
public class LibrariesToHostMapper
- extends StepGeneratingMapper<Libraries,LibrariesMapping,Host>
Mapper that maps ConfigurationFiles CI's to hosts with LibrariesMapping CI's. Libraries
| 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 |
LibrariesToHostMapper
public LibrariesToHostMapper(Change<Deployment> c)
generateAdditionStepsForAddedMapping
protected void generateAdditionStepsForAddedMapping(Libraries newSource,
LibrariesMapping 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<Libraries,LibrariesMapping,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(Libraries oldSource,
LibrariesMapping 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<Libraries,LibrariesMapping,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.