Package org.citrusframework.spi
Class SpringResourceWrapper.ResourceConverter
java.lang.Object
org.citrusframework.spi.SpringResourceWrapper.ResourceConverter
- All Implemented Interfaces:
org.springframework.core.convert.converter.ConditionalConverter,org.springframework.core.convert.converter.Converter<org.citrusframework.spi.Resource,org.springframework.core.io.Resource>
- Enclosing class:
- SpringResourceWrapper
public static class SpringResourceWrapper.ResourceConverter
extends Object
implements org.springframework.core.convert.converter.Converter<org.citrusframework.spi.Resource,org.springframework.core.io.Resource>, org.springframework.core.convert.converter.ConditionalConverter
Spring bean converter able to convert from Citrus resource to Spring resource implementation.
-
Constructor Details
-
ResourceConverter
public ResourceConverter()
-
-
Method Details
-
matches
public boolean matches(org.springframework.core.convert.TypeDescriptor sourceType, org.springframework.core.convert.TypeDescriptor targetType) - Specified by:
matchesin interfaceorg.springframework.core.convert.converter.ConditionalConverter
-
convert
public org.springframework.core.io.Resource convert(org.citrusframework.spi.Resource source) - Specified by:
convertin interfaceorg.springframework.core.convert.converter.Converter<org.citrusframework.spi.Resource,org.springframework.core.io.Resource>
-