Package org.geotools.coverage.grid.io
Class DefaultHarvestedSource
- Object
-
- DefaultHarvestedSource
-
- All Implemented Interfaces:
HarvestedSource
public class DefaultHarvestedSource extends Object implements HarvestedSource
Default implementation of theHarvestedSourceinterface- 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 StringgetMessage()In case the file was not ingested, provides a reason why it was skippedObjectgetSource()The object that has been processedbooleansuccess()If true, the file has been ingested and generated new granules in the reader, false otherwiseStringtoString()
-
-
-
Method Detail
-
getSource
public Object getSource()
Description copied from interface:HarvestedSourceThe object that has been processed- Specified by:
getSourcein interfaceHarvestedSource
-
success
public boolean success()
Description copied from interface:HarvestedSourceIf true, the file has been ingested and generated new granules in the reader, false otherwise- Specified by:
successin interfaceHarvestedSource
-
getMessage
public String getMessage()
Description copied from interface:HarvestedSourceIn case the file was not ingested, provides a reason why it was skipped- Specified by:
getMessagein interfaceHarvestedSource
-
-