Record Class ActivationOptions
java.lang.Object
java.lang.Record
org.j7m.middleware.deployer.api.ActivationOptions
- Record Components:
strictVerification- whether activation requires strict verificationconfiguration- safe planning configuration such as resource policy limits
-
Constructor Summary
ConstructorsConstructorDescriptionActivationOptions(boolean strictVerification) Compatibility constructor for callers that only select verification mode.ActivationOptions(boolean strictVerification, Map<String, String> configuration) Creates immutable activation options. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theconfigurationrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanReturns the value of thestrictVerificationrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ActivationOptions
-
ActivationOptions
public ActivationOptions(boolean strictVerification) Compatibility constructor for callers that only select verification mode.- Parameters:
strictVerification- whether strict verification is required
-
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
strictVerification
public boolean strictVerification()Returns the value of thestrictVerificationrecord component.- Returns:
- the value of the
strictVerificationrecord component
-
configuration
Returns the value of theconfigurationrecord component.- Returns:
- the value of the
configurationrecord component
-