public enum SessionEventFireTime extends java.lang.Enum<SessionEventFireTime> implements EventFireTime<SessionEventData>
| Enum Constant and Description | 
|---|
| AfterEndAndOtherCallbacksAfter the scrape finishes and all scripts have been run. | 
| AfterEndScriptsAfter the scrape finishes and all scripts have been run | 
| NumDuplicateRecordsSavedModifiedWhen the  ScrapingSession.addToNumDuplicateRecordsScraped(int)is called, this will also be called. | 
| NumErrorRecordsSavedModifiedWhen the  ScrapingSession.addToNumErrorRecordsScraped(int)is called, this will also be called. | 
| NumNewRecordsSavedModifiedWhen the  ScrapingSession.addToNumNewRecordsScraped(int)is called, this will also be called. | 
| NumRecordsSavedModifiedWhen the  ScrapingSession.addToNumRecordsScraped(Object)is called, this will also be called. | 
| NumUpdatedRecordsSavedModifiedWhen the  ScrapingSession.addToNumUpdatedRecordsScraped(int)is called, this will also be called. | 
| SessionVariableRetrievedCalled whenever a session variable is retrieved. | 
| SessionVariableSetCalled whenever a session variable is set. | 
| StopScrapingCalledWhen the session is stopped, either by calling the stopScraping method or clicking the stop scraping button in the workbench | 
| Modifier and Type | Method and Description | 
|---|---|
| java.lang.Object | getDefaultReturnValue(SessionEventData data)Gets the default value to return for this time from the data | 
| static SessionEventFireTime | valueOf(java.lang.String name)Returns the enum constant of this type with the specified name. | 
| static SessionEventFireTime[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final SessionEventFireTime NumRecordsSavedModified
ScrapingSession.addToNumRecordsScraped(Object) is called, this will also be called.  The returned value will be the actual value to add.public static final SessionEventFireTime NumNewRecordsSavedModified
ScrapingSession.addToNumNewRecordsScraped(int) is called, this will also be called.  The returned value will be the actual value to add.public static final SessionEventFireTime NumDuplicateRecordsSavedModified
ScrapingSession.addToNumDuplicateRecordsScraped(int) is called, this will also be called.  The returned value will be the actual value to add.public static final SessionEventFireTime NumUpdatedRecordsSavedModified
ScrapingSession.addToNumUpdatedRecordsScraped(int) is called, this will also be called.  The returned value will be the actual value to add.public static final SessionEventFireTime NumErrorRecordsSavedModified
ScrapingSession.addToNumErrorRecordsScraped(int) is called, this will also be called.  The returned value will be the actual value to add.public static final SessionEventFireTime StopScrapingCalled
public static final SessionEventFireTime AfterEndScripts
@InternalOnly public static final SessionEventFireTime AfterEndAndOtherCallbacks
AfterEndScripts fire time.  This is used internally and should
 be avoided by outside code (in theory it can be used externally, but then parent/child scrapes might be notified that a scrape has finished when it
 really hasn't.  Only the final "Session completed" log message has to be writtenpublic static final SessionEventFireTime SessionVariableSet
public static final SessionEventFireTime SessionVariableRetrieved
public static SessionEventFireTime[] values()
for (SessionEventFireTime c : SessionEventFireTime.values()) System.out.println(c);
public static SessionEventFireTime valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null@Nullable public java.lang.Object getDefaultReturnValue(SessionEventData data)
getDefaultReturnValue in interface EventFireTime<SessionEventData>data - The default value to return