|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectiCMS.applet.TrapLine
public class TrapLine
The TrapLine is a class that holds all logic that's required storing a trap which it will try to break down in HITT fields
![]() |
![]() |
Field Summary | |
---|---|
protected String |
application
|
protected String |
data
|
protected String |
date
|
protected boolean |
decompiled
|
protected String |
hostName
|
protected String |
key
|
protected String |
level
|
protected String |
message
|
protected boolean |
multipleTokens
|
protected String |
time
|
protected String |
timeZone
|
protected String |
token
|
protected String |
trap
variables |
Constructor Summary | |
---|---|
TrapLine(String trap)
Constructor |
Method Summary | |
---|---|
boolean |
decompiled()
indicates if the trap has/can be decompiled to a HITT compliant format |
String |
getApplication()
returns the application that fired the trap |
String |
getData()
returns the raw data message that accompanied the trap |
String |
getDate()
returns the date on which this trap occured |
String |
getHostName()
returns the hostname that generated this trap |
String |
getKey()
returns the key used to decompile this trap |
String |
getLevel()
returns the level indication of this trap I = info E = Error W = Warning |
String |
getMessage()
returns the message that generated the trap |
String |
getTime()
returns the time on which this trap occured |
String |
getTimeZone()
returns the timezone related to the date/time of this trap |
String |
getToken()
returns the token associated with this trap if one was installed by setToken |
String |
getTrap()
returns the trap used for this trapline |
boolean |
multipleTokens()
indicates if multiple tokens fit the trap |
boolean |
setToken(String someToken)
tries to set a token to a decompiled string, returns a true if the token matches. |
String |
toString()
returns the trap used for this trapline |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected String trap
protected String hostName
protected String time
protected String date
protected String timeZone
protected String key
protected String data
protected String level
protected String application
protected String message
protected String token
protected boolean decompiled
protected boolean multipleTokens
Constructor Detail |
---|
public TrapLine(String trap)
Method Detail |
---|
public boolean decompiled()
public boolean multipleTokens()
public String toString()
toString
in class Object
public String getTrap()
public String getHostName()
public String getTime()
public String getDate()
public String getTimeZone()
public String getKey()
public String getData()
public String getLevel()
public String getApplication()
public String getMessage()
public String getToken()
public boolean setToken(String someToken)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |