Record Class BuildControlInfo
java.lang.Object
java.lang.Record
cool.scx.data.build_control.BuildControlInfo
public record BuildControlInfo(boolean replace, boolean skipIfNull, boolean skipIfEmptyList, boolean useExpression, boolean useJsonExtract, boolean useOriginalValue)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionBuildControlInfo(boolean replace, boolean skipIfNull, boolean skipIfEmptyList, boolean useExpression, boolean useJsonExtract, boolean useOriginalValue) Creates an instance of aBuildControlInforecord 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.static BuildControlInfoofInfo(BuildControl... controls) booleanreplace()Returns the value of thereplacerecord component.booleanReturns the value of theskipIfEmptyListrecord component.booleanReturns the value of theskipIfNullrecord component.final StringtoString()Returns a string representation of this record class.booleanReturns the value of theuseExpressionrecord component.booleanReturns the value of theuseJsonExtractrecord component.booleanReturns the value of theuseOriginalValuerecord component.
-
Constructor Details
-
BuildControlInfo
public BuildControlInfo(boolean replace, boolean skipIfNull, boolean skipIfEmptyList, boolean useExpression, boolean useJsonExtract, boolean useOriginalValue) Creates an instance of aBuildControlInforecord class.- Parameters:
replace- the value for thereplacerecord componentskipIfNull- the value for theskipIfNullrecord componentskipIfEmptyList- the value for theskipIfEmptyListrecord componentuseExpression- the value for theuseExpressionrecord componentuseJsonExtract- the value for theuseJsonExtractrecord componentuseOriginalValue- the value for theuseOriginalValuerecord component
-
-
Method Details
-
ofInfo
-
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 with thecomparemethod from their corresponding wrapper classes. -
replace
public boolean replace()Returns the value of thereplacerecord component.- Returns:
- the value of the
replacerecord component
-
skipIfNull
public boolean skipIfNull()Returns the value of theskipIfNullrecord component.- Returns:
- the value of the
skipIfNullrecord component
-
skipIfEmptyList
public boolean skipIfEmptyList()Returns the value of theskipIfEmptyListrecord component.- Returns:
- the value of the
skipIfEmptyListrecord component
-
useExpression
public boolean useExpression()Returns the value of theuseExpressionrecord component.- Returns:
- the value of the
useExpressionrecord component
-
useJsonExtract
public boolean useJsonExtract()Returns the value of theuseJsonExtractrecord component.- Returns:
- the value of the
useJsonExtractrecord component
-
useOriginalValue
public boolean useOriginalValue()Returns the value of theuseOriginalValuerecord component.- Returns:
- the value of the
useOriginalValuerecord component
-