Package org.geotools.coverage.grid.io
Class DefaultHarvestedSource
- Object
-
- DefaultHarvestedSource
-
- All Implemented Interfaces:
HarvestedSource
public class DefaultHarvestedSource extends Object implements HarvestedSource
Default implementation of theHarvestedSource
interface- Author:
- Andrea Aime - GeoSolutions
-
-
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 skippedObject
getSource()
The object that has been processedboolean
success()
If true, the file has been ingested and generated new granules in the reader, false otherwiseString
toString()
-
-
-
Method Detail
-
getSource
public Object getSource()
Description copied from interface:HarvestedSource
The object that has been processed- Specified by:
getSource
in interfaceHarvestedSource
-
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 interfaceHarvestedSource
-
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 interfaceHarvestedSource
-
-