Class PreviousBehaviourPropertySetter


  • @Component
    public class PreviousBehaviourPropertySetter
    extends AbstractPropertySetter
    This property setter is a hidden functionality, which is used only by LFG. It is only used when the hidden property server.mapping.override.deployed.fields.on.update.previous.behaviour is added into 'xl-deploy.conf'. See more information here DEPL-12902.
    • Constructor Summary

      Constructors 
      Constructor Description
      PreviousBehaviourPropertySetter​(com.xebialabs.deployit.repository.RepositoryService repository)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void setProperty​(com.xebialabs.deployit.plugin.api.udm.ConfigurationItem currentTarget, com.xebialabs.deployit.plugin.api.udm.ConfigurationItem previousTarget, com.xebialabs.deployit.plugin.api.udm.ConfigurationItem currentSource, com.xebialabs.deployit.plugin.api.udm.ConfigurationItem previousSource, com.xebialabs.deployit.service.replacement.ConsolidatedDictionary dictionary, com.xebialabs.deployit.plugin.api.reflect.PropertyDescriptor targetPropertyDescriptor, com.xebialabs.deployit.plugin.api.reflect.PropertyDescriptor sourcePropertyDescriptor)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • PREVIOUS_BEHAVIOUR_KEY

        public static final java.lang.String PREVIOUS_BEHAVIOUR_KEY
        See Also:
        Constant Field Values
    • Constructor Detail

      • PreviousBehaviourPropertySetter

        @Autowired
        public PreviousBehaviourPropertySetter​(com.xebialabs.deployit.repository.RepositoryService repository)
    • Method Detail

      • setProperty

        public void setProperty​(com.xebialabs.deployit.plugin.api.udm.ConfigurationItem currentTarget,
                                com.xebialabs.deployit.plugin.api.udm.ConfigurationItem previousTarget,
                                com.xebialabs.deployit.plugin.api.udm.ConfigurationItem currentSource,
                                com.xebialabs.deployit.plugin.api.udm.ConfigurationItem previousSource,
                                com.xebialabs.deployit.service.replacement.ConsolidatedDictionary dictionary,
                                com.xebialabs.deployit.plugin.api.reflect.PropertyDescriptor targetPropertyDescriptor,
                                com.xebialabs.deployit.plugin.api.reflect.PropertyDescriptor sourcePropertyDescriptor)
        Specified by:
        setProperty in class AbstractPropertySetter