Class UnresolvedReferencesConfigurationItemConverter
- java.lang.Object
-
- com.xebialabs.xltype.serialization.ConfigurationItemConverter
-
- com.xebialabs.deployit.core.xml.PasswordEncryptingCiConverter
-
- com.xebialabs.deployit.plumbing.export.UnresolvedReferencesConfigurationItemConverter
-
- All Implemented Interfaces:
com.xebialabs.deployit.plumbing.serialization.ConfigurationItemReferenceResolver,com.xebialabs.deployit.plumbing.serialization.ResolutionContextAware,grizzled.slf4j.Logging
public class UnresolvedReferencesConfigurationItemConverter extends com.xebialabs.deployit.core.xml.PasswordEncryptingCiConverter implements com.xebialabs.deployit.plumbing.serialization.ConfigurationItemReferenceResolverA PasswordEncryptingCiConverter extension that doesn't throw errors when reading unresolved CIs or passwords encrypted with a different server key. CI references are left empty if not found. Passwords are left with aDECRYPTION_FAILED_VALUEString. Custom configurations are written with title.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringDECRYPTION_FAILED_VALUE
-
Constructor Summary
Constructors Constructor Description UnresolvedReferencesConfigurationItemConverter(com.xebialabs.xlrelease.repository.ConfigurationRepository configurationRepository, com.xebialabs.deployit.plumbing.serialization.ResolutionContext resolutionContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.xebialabs.xlrelease.repository.ConfigurationRepositorygetConfigurationRepository()com.xebialabs.deployit.plumbing.serialization.ResolutionContextgetResolutionContext()protected voidreadStringProperty(com.xebialabs.deployit.plugin.api.udm.ConfigurationItem configurationItem, com.xebialabs.deployit.plugin.api.reflect.PropertyDescriptor propertyDescriptor, com.xebialabs.xltype.serialization.CiReader reader)voidresolveReferences(com.xebialabs.deployit.plugin.api.services.Repository repository)protected voidwriteCiProperty(java.lang.Object value, com.xebialabs.deployit.plugin.api.reflect.PropertyDescriptor propertyDescriptor, com.xebialabs.xltype.serialization.CiWriter writer)-
Methods inherited from class com.xebialabs.deployit.core.xml.PasswordEncryptingCiConverter
readCollectionOfStringProperty, readMapStringStringProperty, writeCollectionOfCiProperty, writeCollectionOfStringProperty, writeMapStringStringProperty, writeStringProperty
-
Methods inherited from class com.xebialabs.xltype.serialization.ConfigurationItemConverter
createConfigurationItem, getIdOfCi, getReadCIs, getReferences, readCi, readCiProperty, readCis, readCisOrReferences, readCollectionOfCiProperty, readProperties, readProperty, resolveReferences, setReadValidationMessages, setWriteValidationMessages, type, writeCi, writeCi, writeCis, writeCis, writeProperties, writeProperty, writeValidationMessages
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Method Detail
-
writeCiProperty
protected void writeCiProperty(java.lang.Object value, com.xebialabs.deployit.plugin.api.reflect.PropertyDescriptor propertyDescriptor, com.xebialabs.xltype.serialization.CiWriter writer)- Overrides:
writeCiPropertyin classcom.xebialabs.xltype.serialization.ConfigurationItemConverter
-
readStringProperty
protected void readStringProperty(com.xebialabs.deployit.plugin.api.udm.ConfigurationItem configurationItem, com.xebialabs.deployit.plugin.api.reflect.PropertyDescriptor propertyDescriptor, com.xebialabs.xltype.serialization.CiReader reader)- Overrides:
readStringPropertyin classcom.xebialabs.deployit.core.xml.PasswordEncryptingCiConverter
-
resolveReferences
public void resolveReferences(com.xebialabs.deployit.plugin.api.services.Repository repository)
- Overrides:
resolveReferencesin classcom.xebialabs.xltype.serialization.ConfigurationItemConverter
-
getConfigurationRepository
public com.xebialabs.xlrelease.repository.ConfigurationRepository getConfigurationRepository()
- Specified by:
getConfigurationRepositoryin interfacecom.xebialabs.deployit.plumbing.serialization.ConfigurationItemReferenceResolver
-
getResolutionContext
public com.xebialabs.deployit.plumbing.serialization.ResolutionContext getResolutionContext()
- Specified by:
getResolutionContextin interfacecom.xebialabs.deployit.plumbing.serialization.ResolutionContextAware
-
-