public class GlobalSearchResult
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
FOUND_IN_AUTHENTICATION_PASSWORD |
static java.lang.String |
FOUND_IN_AUTHENTICATION_USERNAME |
static java.lang.String |
FOUND_IN_CONTENT |
static java.lang.String |
FOUND_IN_HTTP_HEADER_KEY |
static java.lang.String |
FOUND_IN_HTTP_HEADER_VALUE |
static java.lang.String |
FOUND_IN_HTTP_PARAMETER_KEY |
static java.lang.String |
FOUND_IN_HTTP_PARAMETER_VALUE |
static java.lang.String |
FOUND_IN_IDENTIFIER |
static java.lang.String |
FOUND_IN_KEY_STORE_FILE_PATH |
static java.lang.String |
FOUND_IN_KEY_STORE_PASSWORD |
static java.lang.String |
FOUND_IN_LAST_REQUEST |
static java.lang.String |
FOUND_IN_LAST_RESPONSE |
static java.lang.String |
FOUND_IN_LOG |
static java.lang.String |
FOUND_IN_NAME |
static java.lang.String |
FOUND_IN_NOTE |
static java.lang.String |
FOUND_IN_NOTES |
static java.lang.String |
FOUND_IN_NT_PROXY_DOMAIN |
static java.lang.String |
FOUND_IN_NT_PROXY_HOST |
static java.lang.String |
FOUND_IN_NT_PROXY_PASSWORD |
static java.lang.String |
FOUND_IN_NT_PROXY_USERNAME |
static java.lang.String |
FOUND_IN_PATTERN_TEXT |
static java.lang.String |
FOUND_IN_POST_DATA |
static java.lang.String |
FOUND_IN_PROXY_HOST |
static java.lang.String |
FOUND_IN_PROXY_PASSWORD |
static java.lang.String |
FOUND_IN_PROXY_PORT |
static java.lang.String |
FOUND_IN_PROXY_USERNAME |
static java.lang.String |
FOUND_IN_REQUEST_HEADER_KEY |
static java.lang.String |
FOUND_IN_REQUEST_HEADER_VALUE |
static java.lang.String |
FOUND_IN_REQUEST_LINE |
static java.lang.String |
FOUND_IN_RESPONSE_BODY |
static java.lang.String |
FOUND_IN_RESPONSE_HEADER_KEY |
static java.lang.String |
FOUND_IN_RESPONSE_HEADER_VALUE |
static java.lang.String |
FOUND_IN_RESPONSE_STATUS_LINE |
static java.lang.String |
FOUND_IN_SCRIPT_TEXT |
static java.lang.String |
FOUND_IN_URL |
static org.apache.log4j.Logger |
log
Used for logging.
|
static java.lang.String |
OBJECT_TYPE_EXTRACTOR_PATTERN |
static java.lang.String |
OBJECT_TYPE_PROXY_SESSION |
static java.lang.String |
OBJECT_TYPE_SCRAPEABLE_FILE |
static java.lang.String |
OBJECT_TYPE_SCRAPING_SESSION |
static java.lang.String |
OBJECT_TYPE_SCRIPT |
Constructor and Description |
---|
GlobalSearchResult(int objectID,
java.lang.String objectName,
java.lang.String objectType,
java.lang.String foundIn,
java.lang.String textToSearch,
int numMatches) |
Modifier and Type | Method and Description |
---|---|
static GlobalSearchResult |
generateGlobalSearchResult(java.lang.String textToSearch,
java.lang.String textToFind,
java.lang.String objectName,
int columnID,
java.lang.String objectType,
java.lang.String foundInColumn,
boolean isCaseSensitive) |
java.lang.String |
getFoundIn() |
java.lang.String |
getHeaderName() |
int |
getNumMatches() |
int |
getObjectID() |
java.lang.String |
getObjectName() |
int |
getObjectSequence() |
java.lang.String |
getObjectType() |
ProxySearchResult |
getProxySearchResult() |
int |
getStartPoint() |
java.lang.String |
getTextToSearch() |
void |
setHeaderName(java.lang.String headerName) |
void |
setObjectSequence(int objectSequence) |
void |
setProxySearchResult(ProxySearchResult proxySearchResult) |
void |
setStartPoint(int startPoint) |
void |
setTextToSearch(java.lang.String textToSearch) |
public static org.apache.log4j.Logger log
public static final java.lang.String OBJECT_TYPE_EXTRACTOR_PATTERN
public static final java.lang.String OBJECT_TYPE_PROXY_SESSION
public static final java.lang.String OBJECT_TYPE_SCRAPEABLE_FILE
public static final java.lang.String OBJECT_TYPE_SCRAPING_SESSION
public static final java.lang.String OBJECT_TYPE_SCRIPT
public static final java.lang.String FOUND_IN_IDENTIFIER
public static final java.lang.String FOUND_IN_NAME
public static final java.lang.String FOUND_IN_NOTES
public static final java.lang.String FOUND_IN_NOTE
public static final java.lang.String FOUND_IN_KEY_STORE_FILE_PATH
public static final java.lang.String FOUND_IN_KEY_STORE_PASSWORD
public static final java.lang.String FOUND_IN_PROXY_USERNAME
public static final java.lang.String FOUND_IN_PROXY_PASSWORD
public static final java.lang.String FOUND_IN_PROXY_HOST
public static final java.lang.String FOUND_IN_PROXY_PORT
public static final java.lang.String FOUND_IN_NT_PROXY_USERNAME
public static final java.lang.String FOUND_IN_NT_PROXY_PASSWORD
public static final java.lang.String FOUND_IN_NT_PROXY_HOST
public static final java.lang.String FOUND_IN_NT_PROXY_DOMAIN
public static final java.lang.String FOUND_IN_PATTERN_TEXT
public static final java.lang.String FOUND_IN_SCRIPT_TEXT
public static final java.lang.String FOUND_IN_URL
public static final java.lang.String FOUND_IN_AUTHENTICATION_USERNAME
public static final java.lang.String FOUND_IN_AUTHENTICATION_PASSWORD
public static final java.lang.String FOUND_IN_HTTP_PARAMETER_KEY
public static final java.lang.String FOUND_IN_HTTP_PARAMETER_VALUE
public static final java.lang.String FOUND_IN_HTTP_HEADER_KEY
public static final java.lang.String FOUND_IN_HTTP_HEADER_VALUE
public static final java.lang.String FOUND_IN_LAST_REQUEST
public static final java.lang.String FOUND_IN_LAST_RESPONSE
public static final java.lang.String FOUND_IN_LOG
public static final java.lang.String FOUND_IN_CONTENT
public static final java.lang.String FOUND_IN_REQUEST_LINE
public static final java.lang.String FOUND_IN_REQUEST_HEADER_KEY
public static final java.lang.String FOUND_IN_REQUEST_HEADER_VALUE
public static final java.lang.String FOUND_IN_POST_DATA
public static final java.lang.String FOUND_IN_RESPONSE_STATUS_LINE
public static final java.lang.String FOUND_IN_RESPONSE_HEADER_KEY
public static final java.lang.String FOUND_IN_RESPONSE_HEADER_VALUE
public static final java.lang.String FOUND_IN_RESPONSE_BODY
public GlobalSearchResult(int objectID, java.lang.String objectName, java.lang.String objectType, java.lang.String foundIn, java.lang.String textToSearch, int numMatches)
@Nullable public java.lang.String getObjectName()
@Nullable public java.lang.String getObjectType()
@Nullable public java.lang.String getFoundIn()
public int getObjectID()
public int getNumMatches()
public int getObjectSequence()
public void setObjectSequence(int objectSequence)
public int getStartPoint()
public void setStartPoint(int startPoint)
@Nullable public java.lang.String getTextToSearch()
public void setTextToSearch(java.lang.String textToSearch)
@Nullable public ProxySearchResult getProxySearchResult()
public void setProxySearchResult(ProxySearchResult proxySearchResult)
@Nullable public java.lang.String getHeaderName()
public void setHeaderName(java.lang.String headerName)
@Nullable public static GlobalSearchResult generateGlobalSearchResult(@Nullable java.lang.String textToSearch, @Nullable java.lang.String textToFind, java.lang.String objectName, int columnID, java.lang.String objectType, java.lang.String foundInColumn, boolean isCaseSensitive)
textToSearch
- The text to search.textToFind
- The text to find.objectName
- The name of object.columnID
- The ID of the db record.objectType
- The type of object.foundInColumn
- The column containing the found text.isCaseSensitive
- Case sensitive?