|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mindtree.techworks.insight.eventsearch.SearchCriteria
public class SearchCriteria
This is the value object to pass the Search Criteria for the Event Search in Insight.
Field Summary | |
---|---|
static int |
ALL_FIELDS_SEARCH
Indicates to search in all fields |
static int |
CATEGORY_SEARCH
Indicates to search inthe Category field |
static int |
EXCEPTION_CLASS_NAME_SEARCH
Indicates to search for the exception class name. |
static int |
MESSAGE_SEARCH
Indicates to search in the Log message |
static int |
NAMESPACE_SEARCH
Indicates to search for the log namespace.Note that this field is not available for selection in the search GUI |
static int |
PRIORITY_SEARCH
Indicates to search for the priority. |
static int |
THREAD_SEARCH
Indicates to search in the thread field |
static int |
THROWABLE_SEARCH
Indicates to search for the throwable stack trace. |
Constructor Summary | |
---|---|
SearchCriteria(int searchType)
Constructor for a search criteria. |
Method Summary | |
---|---|
java.lang.String |
getSearchString()
|
int |
getSearchType()
Returns the search type. |
void |
setSearchString(java.lang.String searchString)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int THREAD_SEARCH
public static final int CATEGORY_SEARCH
public static final int MESSAGE_SEARCH
public static final int EXCEPTION_CLASS_NAME_SEARCH
public static final int THROWABLE_SEARCH
public static final int PRIORITY_SEARCH
public static final int NAMESPACE_SEARCH
public static final int ALL_FIELDS_SEARCH
Constructor Detail |
---|
public SearchCriteria(int searchType)
searchType
- The type of this search. The search type should be
provided as an OR
of the different search
criteria types. For example, to search on both message and
thread, provide the search type as
MESSAGE_SEARCH | THREAD_SEARCH
. To search in
all fields use the
ALL_FIELDS_SEARCH
type.Method Detail |
---|
public java.lang.String getSearchString()
public void setSearchString(java.lang.String searchString)
searchString
- The searchString to set.public int getSearchType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |