Class MetadataComparisonService

  • All Implemented Interfaces:
    AdaptrisComponent, ComponentLifecycle, ComponentLifecycleExtension, MessageEventGenerator, Service, StateManagedComponent

    @ComponentProfile(summary="Compare two metadata values and store the result against a 3rd metadata key",
                      tag="service,metadata")
    public class MetadataComparisonService
    extends ServiceImp
    Implementation of Service that compares two items of metadata.

    Sometimes you just want to compare two metadata values and store the result against a 3rd metadata key. Well this does that.

    In the adapter configuration file this class is aliased as metadata-comparison-service which is the preferred alternative to the fully qualified classname when building your configuration.

    • Constructor Detail

      • MetadataComparisonService

        public MetadataComparisonService()
      • MetadataComparisonService

        public MetadataComparisonService​(java.lang.String first,
                                         java.lang.String second,
                                         MetadataComparator mc)