com.contrastsecurity.rest
Class TraceEvent

java.lang.Object
  extended by com.contrastsecurity.rest.TraceEvent

public class TraceEvent
extends Object

Several TraceEvents make up a vulnerability, or, "trace". They represent a method invocation that Contrast monitored.


Constructor Summary
TraceEvent()
           
 
Method Summary
 List<CodeObject> getArguments()
          The method parameters in the method invocation.
 String getBitset()
          Return a proprietary bitset value for markup on any data flow evidence in this event.
 CodeObject getObject()
          The 'this' in the method invocation.
 CodeObject getReturnValue()
          The return value of the method invocation.
 String getSignature()
          Return the method signature of this method invocation.
 List<String> getStackTrace()
          The stack trace at the time of this method invocation.
 String getThread()
          Return the name of the thread on which this method invocation occurred.
 String getTimestamp()
          Return the timestamp of when this event occurred.
 String getType()
          Return the type of event this is, e.g., Creation, P2O, Trigger, etc.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TraceEvent

public TraceEvent()
Method Detail

getTimestamp

public String getTimestamp()
Return the timestamp of when this event occurred.

Returns:
the timestamp of when this event occurred

getThread

public String getThread()
Return the name of the thread on which this method invocation occurred.

Returns:
the name of the thread on which this method invocation occurred

getType

public String getType()
Return the type of event this is, e.g., Creation, P2O, Trigger, etc.

Returns:
the type of event this is

getBitset

public String getBitset()
Return a proprietary bitset value for markup on any data flow evidence in this event.

Returns:
a proprietary bitset value for markup purposes

getSignature

public String getSignature()
Return the method signature of this method invocation.

Returns:
the method signature of this method invocation

getObject

public CodeObject getObject()
The 'this' in the method invocation. In a static call, this will be the string 'null'.

Returns:
the String value of "this" in the event

getArguments

public List<CodeObject> getArguments()
The method parameters in the method invocation.

Returns:
method parameters in a method invocation

getReturnValue

public CodeObject getReturnValue()
The return value of the method invocation.

Returns:

getStackTrace

public List<String> getStackTrace()
The stack trace at the time of this method invocation.

Returns:
stack trace at the time of this method invocation


Copyright © 2014. All Rights Reserved.