IssueData

private class IssueData(val events: List<IdeaLoggingEvent>, val additionalInfo: String?, val pluginDescriptor: PluginDescriptor)(source)

Contains a variety of metadata on an issue to report, and knows how to format the issue in a textual form.

Constructors

Link copied to clipboard
constructor(events: List<IdeaLoggingEvent>, additionalInfo: String?, pluginDescriptor: PluginDescriptor)

Types

Link copied to clipboard
object Companion

Holds constants.

Properties

Link copied to clipboard
val additionalInfo: String?

Additional information provided by the user.

Link copied to clipboard
private val attachments: List<Attachment>

The list of included attachments.

Link copied to clipboard
val body: String

The body of the issue.

Link copied to clipboard
private val eventData: List<AbstractMessage>

Event data for the events.

Link copied to clipboard
val events: List<IdeaLoggingEvent>

The events to report.

Link copied to clipboard
private val hash: String

The hash that identifies this issue, used for duplication detection.

Link copied to clipboard
val pluginDescriptor: PluginDescriptor

The descriptor of Randomness.

Link copied to clipboard
val title: String

Returns the title of the issue.

Functions

Link copied to clipboard
fun asGitHubIssue(): Issue

Returns the corresponding Issue.

Link copied to clipboard
fun isDuplicateOf(issue: Issue): Boolean

Returns true if and only if this IssueData is (likely) a duplicate of the existing Issue.