Record Class DoctorCheck
java.lang.Object
java.lang.Record
io.jenkins.tools.pluginmodernizer.tui.DoctorCheck
- Record Components:
section- group the check belongs to, such as Maven or JDKsname- what is checkedvalue- what was foundlevel- how the value is shown
public record DoctorCheck(String section, String name, String value, DoctorCheck.Level level)
extends Record
One line of the doctor screen
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionDoctorCheck(String section, String name, String value, DoctorCheck.Level level) Creates an instance of aDoctorCheckrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.static DoctorCheckfinal inthashCode()Returns a hash code value for this object.static DoctorChecklevel()Returns the value of thelevelrecord component.name()Returns the value of thenamerecord component.static DoctorChecksection()Returns the value of thesectionrecord component.final StringtoString()Returns a string representation of this record class.value()Returns the value of thevaluerecord component.static DoctorCheck
-
Constructor Details
-
Method Details
-
ok
-
info
-
warning
-
error
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
section
-
name
-
value
-
level
-