Record Class ConditionalPatchCheck
java.lang.Object
java.lang.Record
com.palantir.gradle.suppressibleerrorprone.ConditionalPatchCheck
-
Constructor Summary
ConstructorsConstructorDescriptionConditionalPatchCheck(org.gradle.api.specs.Spec<org.gradle.api.tasks.compile.JavaCompile> when, String... checks) ConditionalPatchCheck(org.gradle.api.specs.Spec<org.gradle.api.tasks.compile.JavaCompile> when, Set<String> checks) Creates an instance of aConditionalPatchCheckrecord class. -
Method Summary
Modifier and TypeMethodDescriptionchecks()Returns the value of thechecksrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.org.gradle.api.specs.Spec<org.gradle.api.tasks.compile.JavaCompile> when()Returns the value of thewhenrecord component.
-
Constructor Details
-
ConditionalPatchCheck
public ConditionalPatchCheck(org.gradle.api.specs.Spec<org.gradle.api.tasks.compile.JavaCompile> when, String... checks) -
ConditionalPatchCheck
-
-
Method Details
-
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). -
when
public org.gradle.api.specs.Spec<org.gradle.api.tasks.compile.JavaCompile> when()Returns the value of thewhenrecord component.- Returns:
- the value of the
whenrecord component
-
checks
-