Class DuplicateMetadataValueService

    • Field Detail

      • previousValuesStore

        protected transient java.util.List<java.lang.String> previousValuesStore
      • store

        protected transient java.io.File store
    • Constructor Detail

      • DuplicateMetadataValueService

        public DuplicateMetadataValueService()
    • Method Detail

      • loadPreviouslyReceivedValues

        protected void loadPreviouslyReceivedValues()
                                             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getMetadataKey

        public java.lang.String getMetadataKey()

        Returns the metadata key whose value should be checked.

        Returns:
        metadataKey the metadata key whose value should be checked
      • setMetadataKey

        public void setMetadataKey​(java.lang.String s)

        Sets the metadata key whose value should be checked. May not be null.

        Parameters:
        s - the metadata key whose value should be checked
      • getStoreFileUrl

        public java.lang.String getStoreFileUrl()

        Returns the persistent store for previously received values in the form of a file URL. E.g. file:////Users/adaptris/store.dat/.

        Returns:
        the persistent store for previously received values in the form of a file URL
      • setStoreFileUrl

        public void setStoreFileUrl​(java.lang.String s)

        Sets the persistent store for previously received values in the form of a file URL. E.g. file:////Users/adaptris/store.dat. May not be null or empty.

        Parameters:
        s - the persistent store for previously received values in the form of a file URL