Package io.camunda.zeebe.util
Record Class FeatureFlags
java.lang.Object
java.lang.Record
io.camunda.zeebe.util.FeatureFlags
public record FeatureFlags(boolean yieldingDueDateChecker, boolean enableActorMetrics, boolean enableBackup)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionFeatureFlags(boolean yieldingDueDateChecker, boolean enableActorMetrics, boolean enableBackup) Creates an instance of aFeatureFlagsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionstatic FeatureFlagsstatic FeatureFlagsOnly to be used in testsbooleanReturns the value of theenableActorMetricsrecord component.booleanReturns the value of theenableBackuprecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.toString()Returns a string representation of this record class.booleanReturns the value of theyieldingDueDateCheckerrecord component.
-
Constructor Details
-
FeatureFlags
public FeatureFlags(boolean yieldingDueDateChecker, boolean enableActorMetrics, boolean enableBackup) Creates an instance of aFeatureFlagsrecord class.- Parameters:
yieldingDueDateChecker- the value for theyieldingDueDateCheckerrecord componentenableActorMetrics- the value for theenableActorMetricsrecord componentenableBackup- the value for theenableBackuprecord component
-
-
Method Details
-
createDefault
-
createDefaultForTests
Only to be used in tests- Returns:
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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 '=='. -
yieldingDueDateChecker
public boolean yieldingDueDateChecker()Returns the value of theyieldingDueDateCheckerrecord component.- Returns:
- the value of the
yieldingDueDateCheckerrecord component
-
enableActorMetrics
public boolean enableActorMetrics()Returns the value of theenableActorMetricsrecord component.- Returns:
- the value of the
enableActorMetricsrecord component
-
enableBackup
public boolean enableBackup()Returns the value of theenableBackuprecord component.- Returns:
- the value of the
enableBackuprecord component
-