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'.freeze
- SEVERITY_WARNING =
'warning'.freeze
- SEVERITY_ERROR =
'error'.freeze
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
71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 |
# File 'lib/checkstyle_report/checkstyle_report.rb', line 71 def initialize( severity, , source, line, column, name ) @severity = severity = @source = source @line = line @column = column @name = name end |
Instance Attribute Details
#column ⇒ Object (readonly)
rubocop:enable Metrics/ParameterLists
88 89 90 |
# File 'lib/checkstyle_report/checkstyle_report.rb', line 88 def column @column end |
#line ⇒ Object (readonly)
rubocop:enable Metrics/ParameterLists
88 89 90 |
# File 'lib/checkstyle_report/checkstyle_report.rb', line 88 def line @line end |
#message ⇒ Object (readonly)
rubocop:enable Metrics/ParameterLists
88 89 90 |
# File 'lib/checkstyle_report/checkstyle_report.rb', line 88 def end |
#name ⇒ Object (readonly)
rubocop:enable Metrics/ParameterLists
88 89 90 |
# File 'lib/checkstyle_report/checkstyle_report.rb', line 88 def name @name end |
#severity ⇒ Object (readonly)
rubocop:enable Metrics/ParameterLists
88 89 90 |
# File 'lib/checkstyle_report/checkstyle_report.rb', line 88 def severity @severity end |
#source ⇒ Object (readonly)
rubocop:enable Metrics/ParameterLists
88 89 90 |
# File 'lib/checkstyle_report/checkstyle_report.rb', line 88 def source @source end |