Class: CheckstyleReport::CheckstyleError
- Inherits:
-
Object
- Object
- CheckstyleReport::CheckstyleError
- Defined in:
- lib/checkstyle_report/checkstyle_report.rb
Overview
Checkstyle error representation
Constant Summary collapse
- SEVERITY_NORMAL =
'normal'- SEVERITY_WARNING =
'warning'- SEVERITY_ERROR =
'error'
Instance Attribute Summary collapse
-
#column ⇒ Object
readonly
rubocop:enable Metrics/ParameterLists.
-
#line ⇒ Object
readonly
rubocop:enable Metrics/ParameterLists.
-
#message ⇒ Object
readonly
rubocop:enable Metrics/ParameterLists.
-
#name ⇒ Object
readonly
rubocop:enable Metrics/ParameterLists.
-
#severity ⇒ Object
readonly
rubocop:enable Metrics/ParameterLists.
-
#source ⇒ Object
readonly
rubocop:enable Metrics/ParameterLists.
Instance Method Summary collapse
-
#initialize(severity, message, source, line, column, name) ⇒ CheckstyleError
constructor
rubocop:disable Metrics/ParameterLists.
Constructor Details
#initialize(severity, message, source, line, column, name) ⇒ CheckstyleError
rubocop:disable Metrics/ParameterLists
96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 |
# File 'lib/checkstyle_report/checkstyle_report.rb', line 96 def initialize( severity, , source, line, column, name ) @severity = severity @message = @source = source @line = line @column = column @name = name end |
Instance Attribute Details
#column ⇒ Object (readonly)
rubocop:enable Metrics/ParameterLists
114 115 116 |
# File 'lib/checkstyle_report/checkstyle_report.rb', line 114 def column @column end |
#line ⇒ Object (readonly)
rubocop:enable Metrics/ParameterLists
114 115 116 |
# File 'lib/checkstyle_report/checkstyle_report.rb', line 114 def line @line end |
#message ⇒ Object (readonly)
rubocop:enable Metrics/ParameterLists
114 115 116 |
# File 'lib/checkstyle_report/checkstyle_report.rb', line 114 def @message end |
#name ⇒ Object (readonly)
rubocop:enable Metrics/ParameterLists
114 115 116 |
# File 'lib/checkstyle_report/checkstyle_report.rb', line 114 def name @name end |
#severity ⇒ Object (readonly)
rubocop:enable Metrics/ParameterLists
114 115 116 |
# File 'lib/checkstyle_report/checkstyle_report.rb', line 114 def severity @severity end |
#source ⇒ Object (readonly)
rubocop:enable Metrics/ParameterLists
114 115 116 |
# File 'lib/checkstyle_report/checkstyle_report.rb', line 114 def source @source end |