Record Class VerificationOptions
java.lang.Object
java.lang.Record
org.j7m.middleware.deployer.api.VerificationOptions
- Record Components:
strictSignatureRequired- whether unsigned bundles are rejectedverificationProfile- verification profile name
-
Constructor Summary
ConstructorsConstructorDescriptionVerificationOptions(boolean strictSignatureRequired) Compatibility constructor.VerificationOptions(boolean strictSignatureRequired, String verificationProfile) Creates immutable verification options. -
Method Summary
Modifier and TypeMethodDescriptionstatic VerificationOptionsCreates development verification options that allow unsigned bundles.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.static VerificationOptionsCreates strict regulated verification options.booleanReturns the value of thestrictSignatureRequiredrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theverificationProfilerecord component.
-
Constructor Details
-
VerificationOptions
Creates immutable verification options. -
VerificationOptions
public VerificationOptions(boolean strictSignatureRequired) Compatibility constructor.- Parameters:
strictSignatureRequired- whether unsigned bundles are rejected
-
-
Method Details
-
development
Creates development verification options that allow unsigned bundles.- Returns:
- development verification options
-
strictRegulated
Creates strict regulated verification options.- Returns:
- strict regulated verification options
-
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. -
strictSignatureRequired
public boolean strictSignatureRequired()Returns the value of thestrictSignatureRequiredrecord component.- Returns:
- the value of the
strictSignatureRequiredrecord component
-
verificationProfile
Returns the value of theverificationProfilerecord component.- Returns:
- the value of the
verificationProfilerecord component
-