Record Class ModifyCheckApiOption.MustModify
java.lang.Object
java.lang.Record
com.palantir.gradle.suppressibleerrorprone.modes.common.ModifyCheckApiOption.MustModify
- All Implemented Interfaces:
ModifyCheckApiOption, ModifyCheckApiOption.CombinedValue
- Enclosing interface:
ModifyCheckApiOption
public static record ModifyCheckApiOption.MustModify(Set<com.palantir.suppressibleerrorprone.transform.ModifiedFile> modifiedFiles)
extends Record
implements ModifyCheckApiOption, ModifyCheckApiOption.CombinedValue
-
Nested Class Summary
Nested classes/interfaces inherited from interface ModifyCheckApiOption
ModifyCheckApiOption.CombinedValue, ModifyCheckApiOption.DoNotModify, ModifyCheckApiOption.MustModify, ModifyCheckApiOption.NoEffect -
Constructor Summary
ConstructorsConstructorDescriptionMustModify(Set<com.palantir.suppressibleerrorprone.transform.ModifiedFile> modifiedFiles) Creates an instance of aMustModifyrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Set<com.palantir.suppressibleerrorprone.transform.ModifiedFile> Returns the value of themodifiedFilesrecord component.final StringtoString()Returns a string representation of this record class.Methods inherited from interface ModifyCheckApiOption
getModifiedFiles
-
Constructor Details
-
MustModify
Creates an instance of aMustModifyrecord class.- Parameters:
modifiedFiles- the value for themodifiedFilesrecord component
-
-
Method Details
-
combine
-
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). -
modifiedFiles
Returns the value of themodifiedFilesrecord component.- Returns:
- the value of the
modifiedFilesrecord component
-