|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.xebialabs.deployit.mapper.Mapper<S,M,T>
com.xebialabs.deployit.mapper.StepGeneratingMapper<S,M,T>
com.xebialabs.deployit.mapper.ModificationSupportingStepGeneratingMapper<S,Mapping,T>
com.xebialabs.deployit.mapper.ModificationSupportingMappingAgnosticStepGeneratingMapper<S,T>
S - the type of the source artifact/resource.T - the type of the target middleware.public abstract class ModificationSupportingMappingAgnosticStepGeneratingMapper<S extends java.io.Serializable,T extends java.io.Serializable>
A subclass of ModificationSupportingStepGeneratingMapper that provides the same functionality but does not
pass the mapping object to the template methods.
| Field Summary |
|---|
| Fields inherited from class com.xebialabs.deployit.mapper.Mapper |
|---|
addedMappings, change, deletedMappings, modifiedMappings, newMappings, oldMappings |
| Constructor Summary | |
|---|---|
ModificationSupportingMappingAgnosticStepGeneratingMapper(Change<Deployment> change)
Creates a ModificationSupportingMappingAgnosticStepGeneratingMapper for the specified deployment change that will apply default mappings. |
|
ModificationSupportingMappingAgnosticStepGeneratingMapper(Change<Deployment> change,
boolean applyDefaultMappings)
Creates a ModificationSupportingMappingAgnosticStepGeneratingMapper for the specified deployment change. |
|
| Methods inherited from class com.xebialabs.deployit.mapper.ModificationSupportingStepGeneratingMapper |
|---|
generateAdditionStepsForModifiedMapping, generateDeletionStepsForModifiedMapping, generateModificationSteps |
| Methods inherited from class com.xebialabs.deployit.mapper.StepGeneratingMapper |
|---|
generateAdditionSteps, generateDeletionSteps |
| 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 |
| Constructor Detail |
|---|
public ModificationSupportingMappingAgnosticStepGeneratingMapper(Change<Deployment> change,
boolean applyDefaultMappings)
change - the deployment change for which to calculate mappings.applyDefaultMappings - default mappings will be applied iff truepublic ModificationSupportingMappingAgnosticStepGeneratingMapper(Change<Deployment> change)
change - the deployment change for which to calculate mappings.| Method Detail |
|---|
protected final void generateAdditionStepsForAddedMapping(S newMappingSource,
Mapping newMapping,
T newMappingTarget,
java.util.List<Step> steps)
StepGeneratingMapper.generateAdditionStepsForAddedMapping(Serializable, Mapping, Serializable, List) to
invoke generateAdditionStepsForAddedMapping(Serializable, Serializable, List).
generateAdditionStepsForAddedMapping in class StepGeneratingMapper<S extends java.io.Serializable,Mapping,T extends java.io.Serializable>newMappingSource - 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.newMapping - the new mappingnewMappingTarget - 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
protected abstract void generateAdditionStepsForAddedMapping(S newMappingSource,
T newMappingTarget,
java.util.List<Step> steps)
StepGeneratingMapper.generateAdditionStepsForAddedMapping(Serializable, Mapping, Serializable, List) that
does without the newMapping parameter.
newMappingSource - the source of the new mapping.newMappingTarget - the target of the new mapping.steps - the list of steps to which the generated steps are to be added
protected final void generateModificationStepsForModifiedMapping(S oldSource,
Mapping oldVersionOfModifiedMapping,
T oldTarget,
S newSource,
Mapping newVersionOfModifiedMapping,
T newTarget,
java.util.List<Step> steps)
ModificationSupportingStepGeneratingMapper.generateModificationStepsForModifiedMapping(Serializable, Mapping, Serializable, Serializable, Mapping, Serializable, List)
to invoke generateModificationStepsForModifiedMapping(Serializable, Serializable, Serializable, Serializable, List).
generateModificationStepsForModifiedMapping in class ModificationSupportingStepGeneratingMapper<S extends java.io.Serializable,Mapping,T extends java.io.Serializable>oldSource - the old source of the modified 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.oldVersionOfModifiedMapping - the old version of the modified 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.newSource - the new source of the mapping. The value is identical to
newVersionOfModifiedMapping.getSource() but it is provided separately so that the implementor
of this method does not have to cast it.newVersionOfModifiedMapping - the new mappingnewTarget - the new target of the mapping. The value is identical to
newVersionOfModifiedMapping.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
protected abstract void generateModificationStepsForModifiedMapping(S oldMappingSource,
T oldMappingTarget,
S newMappingSource,
T newMappingTarget,
java.util.List<Step> steps)
StepGeneratingMapper.generateAdditionStepsForAddedMapping(Serializable, Mapping, Serializable, List) that
does without the newMapping parameter.
oldMappingSource - the old source of the modified mapping.oldMappingTarget - the old target of the modified mapping.newMappingSource - the new source of the modified mapping.newMappingTarget - the new target of the modified mapping.steps - the list of steps to which the generated steps are to be added
protected final void generateDeletionStepsForDeletedMapping(S oldSource,
Mapping oldMapping,
T oldTarget,
java.util.List<Step> steps)
StepGeneratingMapper.generateDeletionStepsForDeletedMapping(Serializable, Mapping, Serializable, List) to
invoke generateDeletionStepsForDeletedMapping(Serializable, Serializable, List).
generateDeletionStepsForDeletedMapping in class StepGeneratingMapper<S extends java.io.Serializable,Mapping,T extends java.io.Serializable>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.oldMapping - 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
protected abstract void generateDeletionStepsForDeletedMapping(S oldMappingSource,
T oldMappingTarget,
java.util.List<Step> steps)
StepGeneratingMapper.generateDeletionStepsForDeletedMapping(Serializable, Mapping, Serializable, List)
that does without the newMapping parameter.
oldMappingSource - the source of the new mapping.oldMappingTarget - the target of the new mapping.steps - the list of steps to which the generated steps are to be added
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||