Class DefaultHarvestedSource

    • Constructor Summary

      Constructors 
      Constructor Description
      DefaultHarvestedSource​(Object source, boolean success, String message)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String getMessage()
      In case the file was not ingested, provides a reason why it was skipped
      Object getSource()
      The object that has been processed
      boolean success()
      If true, the file has been ingested and generated new granules in the reader, false otherwise
      String toString()  
      • Methods inherited from class Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • DefaultHarvestedSource

        public DefaultHarvestedSource​(Object source,
                                      boolean success,
                                      String message)
    • Method Detail

      • success

        public boolean success()
        Description copied from interface: HarvestedSource
        If true, the file has been ingested and generated new granules in the reader, false otherwise
        Specified by:
        success in interface HarvestedSource
      • getMessage

        public String getMessage()
        Description copied from interface: HarvestedSource
        In case the file was not ingested, provides a reason why it was skipped
        Specified by:
        getMessage in interface HarvestedSource
      • toString

        public String toString()
        Overrides:
        toString in class Object