Package org.mockserver.dashboard.model
Class DashboardLogEntryDTO
- java.lang.Object
-
- org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
-
- org.mockserver.model.ObjectWithJsonToString
-
- org.mockserver.dashboard.model.DashboardLogEntryDTO
-
public class DashboardLogEntryDTO extends ObjectWithJsonToString
-
-
Constructor Summary
Constructors Constructor Description DashboardLogEntryDTO(String id, String correlationId, String timestamp, LogEntry.LogMessageType type)DashboardLogEntryDTO(LogEntry logEntry)
-
Method Summary
-
Methods inherited from class org.mockserver.model.ObjectWithJsonToString
toString
-
Methods inherited from class org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
equals, hashCode
-
-
-
-
Constructor Detail
-
DashboardLogEntryDTO
public DashboardLogEntryDTO(String id, String correlationId, String timestamp, LogEntry.LogMessageType type)
-
DashboardLogEntryDTO
public DashboardLogEntryDTO(LogEntry logEntry)
-
-
Method Detail
-
getId
public String getId()
-
setId
public void setId(String id)
-
getCorrelationId
public String getCorrelationId()
-
setCorrelationId
public void setCorrelationId(String correlationId)
-
getTimestamp
public String getTimestamp()
-
setTimestamp
public void setTimestamp(String timestamp)
-
getType
public LogEntry.LogMessageType getType()
-
setType
public DashboardLogEntryDTO setType(LogEntry.LogMessageType type)
-
getHttpRequests
public RequestDefinition[] getHttpRequests()
-
setHttpRequests
public DashboardLogEntryDTO setHttpRequests(RequestDefinition[] httpRequests)
-
getHttpRequest
public RequestDefinition getHttpRequest()
-
getHttpResponse
public HttpResponse getHttpResponse()
-
setHttpResponse
public DashboardLogEntryDTO setHttpResponse(HttpResponse httpResponse)
-
setStyle
public DashboardLogEntryDTO setStyle(Map<String,String> style)
-
getMessageFormat
public String getMessageFormat()
-
setMessageFormat
public DashboardLogEntryDTO setMessageFormat(String messageFormat)
-
getArguments
public Object[] getArguments()
-
setArguments
public DashboardLogEntryDTO setArguments(Object... arguments)
-
getThrowable
public String[] getThrowable()
-
setThrowable
public void setThrowable(String[] throwable)
-
getBecause
public Object getBecause()
-
setBecause
public DashboardLogEntryDTO setBecause(String because)
-
getDescription
public Description getDescription()
-
setDescription
public DashboardLogEntryDTO setDescription(Description description)
-
fieldsExcludedFromEqualsAndHashCode
protected String[] fieldsExcludedFromEqualsAndHashCode()
- Overrides:
fieldsExcludedFromEqualsAndHashCodein classObjectWithReflectiveEqualsHashCodeToString
-
-