Package io.atlasmap.core
Class DefaultAtlasPropertyStrategy
java.lang.Object
io.atlasmap.core.DefaultAtlasPropertyStrategy
- All Implemented Interfaces:
AtlasPropertyStrategy
- Direct Known Subclasses:
CamelAtlasPropertyStrategy
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
boolean
boolean
protected boolean
processEnvironmentVariable
(PropertyField propertyField) protected boolean
processJavaSystemProperty
(PropertyField propertyField) protected boolean
processMappingDefinedProperties
(PropertyField propertyField, AtlasMapping atlasMapping) protected boolean
processRuntimeProperties
(PropertyField propertyField, Map<String, Object> runtimeProperties) void
readProperty
(AtlasSession session, PropertyField propertyField) Read a source property value and set into source Field.void
setAtlasConversionService
(AtlasConversionService atlasConversionService) void
setEnvironmentPropertiesEnabled
(boolean environmentPropertiesEnabled) void
setMappingDefinedPropertiesEnabled
(boolean mappingDefinedPropertiesEnabled) void
setPropertyOrder
(List<AtlasPropertyType> propertyOrder) void
setPropertyOrderValue
(List<String> propertyValues) void
setRuntimePropertiesEnabled
(boolean runtimePropertiesEnabled) void
setSystemPropertiesEnabled
(boolean systemPropertiesEnabled) void
writeProperty
(AtlasSession session, PropertyField propertyField) Write a target property value from target Field.
-
Constructor Details
-
DefaultAtlasPropertyStrategy
public DefaultAtlasPropertyStrategy()
-
-
Method Details
-
readProperty
public void readProperty(AtlasSession session, PropertyField propertyField) throws AtlasUnsupportedException, AtlasConversionException Description copied from interface:AtlasPropertyStrategy
Read a source property value and set into source Field.- Specified by:
readProperty
in interfaceAtlasPropertyStrategy
- Parameters:
session
-AtlasSession
propertyField
- sourcePropertyField
to set a property value- Throws:
AtlasUnsupportedException
- if reading property is not supportedAtlasConversionException
- if type conversion fails
-
processEnvironmentVariable
protected boolean processEnvironmentVariable(PropertyField propertyField) throws AtlasConversionException - Throws:
AtlasConversionException
-
processJavaSystemProperty
protected boolean processJavaSystemProperty(PropertyField propertyField) throws AtlasConversionException - Throws:
AtlasConversionException
-
processMappingDefinedProperties
protected boolean processMappingDefinedProperties(PropertyField propertyField, AtlasMapping atlasMapping) throws AtlasConversionException - Throws:
AtlasConversionException
-
processRuntimeProperties
protected boolean processRuntimeProperties(PropertyField propertyField, Map<String, Object> runtimeProperties) throws AtlasConversionException- Throws:
AtlasConversionException
-
writeProperty
Description copied from interface:AtlasPropertyStrategy
Write a target property value from target Field.- Specified by:
writeProperty
in interfaceAtlasPropertyStrategy
- Parameters:
session
-AtlasSession
propertyField
- targetPropertyField
to read a property value from
-
setPropertyOrderValue
-
isEnvironmentPropertiesEnabled
public boolean isEnvironmentPropertiesEnabled() -
setEnvironmentPropertiesEnabled
public void setEnvironmentPropertiesEnabled(boolean environmentPropertiesEnabled) -
isSystemPropertiesEnabled
public boolean isSystemPropertiesEnabled() -
setSystemPropertiesEnabled
public void setSystemPropertiesEnabled(boolean systemPropertiesEnabled) -
isMappingDefinedPropertiesEnabled
public boolean isMappingDefinedPropertiesEnabled() -
setMappingDefinedPropertiesEnabled
public void setMappingDefinedPropertiesEnabled(boolean mappingDefinedPropertiesEnabled) -
isRuntimePropertiesEnabled
public boolean isRuntimePropertiesEnabled() -
setRuntimePropertiesEnabled
public void setRuntimePropertiesEnabled(boolean runtimePropertiesEnabled) -
getPropertyOrder
-
setPropertyOrder
-
getAtlasConversionService
-
setAtlasConversionService
-