org.eclipse.actf.validation.reports
Class CreationContext
java.lang.Object
org.eclipse.actf.validation.reports.ReportElement
org.eclipse.actf.validation.reports.CreationContext
- All Implemented Interfaces:
- Serializable
public class CreationContext
- extends ReportElement
embodies a single creation context for a component. A creation context
expresses the source context for the component's instantiation.
- Author:
- Mike Squillace
- See Also:
- Serialized Form
CreationContext
public CreationContext()
- create a creation context object
CreationContext
public CreationContext(String id,
String member,
StackTraceElement[] trace)
- create a new creation context. The id should identify the component that
has been instantiated, the member should represent the signature of the
constructor or some signature of a member that instantiated the object,
and the trace should be the stack trace that leads to the member
invocation.
- Parameters:
id
- member
- trace
-
getComponentID
public String getComponentID()
setComponentID
public void setComponentID(String id)
getMember
public String getMember()
setMember
public void setMember(String member)
getStackTrace
public StackTraceElement[] getStackTrace()
setStackTrace
public void setStackTrace(StackTraceElement[] trace)
toString
public String toString()
- Overrides:
toString
in class Object