public class ExtractorPatternEventData extends AbstractEventData
Constructor and Description |
---|
ExtractorPatternEventData(ScrapingSession session,
ScrapeableFile scrapeableFile,
ExtractorPattern extractorPattern,
DataSet dataSet,
DataRecord dataRecord,
boolean extractorPatternTimedOut) |
Modifier and Type | Method and Description |
---|---|
boolean |
extractorPatternTimedOut()
Returns whether or not the extractor pattern timed out.
|
DataRecord |
getDataRecord()
Returns the current data record (if applicable to the fire time) or null otherwise
|
DataSet |
getDataSet()
Returns the current data set (if applicable to the fire time) or null otherwise
|
ExtractorPattern |
getExtractorPattern()
Returns the extractor pattern the event was called from
|
ScrapeableFile |
getScrapeableFile()
Returns the scrapeable file the extractor pattern is being run from
|
ScrapingSession |
getSession()
Returns the current scraping session on which the event was triggered
|
java.lang.String |
toString() |
getLastReturnValue, setLastReturnValue
ExtractorPatternEventData(@NotNull ScrapingSession session, @NotNull ScrapeableFile scrapeableFile, @NotNull ExtractorPattern extractorPattern, @Nullable DataSet dataSet, @Nullable DataRecord dataRecord, boolean extractorPatternTimedOut)
@NotNull public ScrapingSession getSession()
@NotNull public ScrapeableFile getScrapeableFile()
@NotNull public ExtractorPattern getExtractorPattern()
@Nullable public DataSet getDataSet()
@Nullable public DataRecord getDataRecord()
public boolean extractorPatternTimedOut()
@NotNull public java.lang.String toString()
toString
in class java.util.EventObject