Record Class OperationDescriptorCatalog.Entry
java.lang.Object
java.lang.Record
zeroecho.pki.server.schema.OperationDescriptorCatalog.Entry
- Record Components:
security- authoritative static permission and policy metadataparameters- compatible parameter-schema projectionpresentation- transport and display metadataavailable- whether the operation is currently executable
- Enclosing class:
OperationDescriptorCatalog
public static record OperationDescriptorCatalog.Entry(OperationSecurityDescriptors.Descriptor security, OperationParameterSchema.OperationSpec parameters, OperationDescriptorCatalog.Presentation presentation, boolean available)
extends Record
One fully validated operation projection.
-
Constructor Summary
ConstructorsConstructorDescriptionEntry(OperationSecurityDescriptors.Descriptor security, OperationParameterSchema.OperationSpec parameters, OperationDescriptorCatalog.Presentation presentation, boolean available) Creates an instance of aEntryrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of theavailablerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theparametersrecord component.Returns the value of thepresentationrecord component.security()Returns the value of thesecurityrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Entry
public Entry(OperationSecurityDescriptors.Descriptor security, OperationParameterSchema.OperationSpec parameters, OperationDescriptorCatalog.Presentation presentation, boolean available) Creates an instance of aEntryrecord class.- Parameters:
security- the value for thesecurityrecord componentparameters- the value for theparametersrecord componentpresentation- the value for thepresentationrecord componentavailable- the value for theavailablerecord component
-
-
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. -
security
-
parameters
Returns the value of theparametersrecord component.- Returns:
- the value of the
parametersrecord component
-
presentation
Returns the value of thepresentationrecord component.- Returns:
- the value of the
presentationrecord component
-
available
-