Record Class ActionCatalogItem
java.lang.Object
java.lang.Record
org.praxisplatform.uischema.action.ActionCatalogItem
public record ActionCatalogItem(String id, String resourceKey, ActionScope scope, String title, String description, String operationId, String path, String method, String requestSchemaId, String requestSchemaUrl, String responseSchemaId, String responseSchemaUrl, AvailabilityDecision availability, int order, String successMessage, List<String> tags)
extends Record
Action pronta para consumo por clientes documentais e runtimes UI.
-
Constructor Summary
ConstructorsConstructorDescriptionActionCatalogItem(String id, String resourceKey, ActionScope scope, String title, String description, String operationId, String path, String method, String requestSchemaId, String requestSchemaUrl, String responseSchemaId, String responseSchemaUrl, AvailabilityDecision availability, int order, String successMessage, List<String> tags) Creates an instance of aActionCatalogItemrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theavailabilityrecord component.Returns the value of thedescriptionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.method()Returns the value of themethodrecord component.Returns the value of theoperationIdrecord component.intorder()Returns the value of theorderrecord component.path()Returns the value of thepathrecord component.Returns the value of therequestSchemaIdrecord component.Returns the value of therequestSchemaUrlrecord component.Returns the value of theresourceKeyrecord component.Returns the value of theresponseSchemaIdrecord component.Returns the value of theresponseSchemaUrlrecord component.scope()Returns the value of thescoperecord component.Returns the value of thesuccessMessagerecord component.tags()Returns the value of thetagsrecord component.title()Returns the value of thetitlerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ActionCatalogItem
public ActionCatalogItem(String id, String resourceKey, ActionScope scope, String title, String description, String operationId, String path, String method, String requestSchemaId, String requestSchemaUrl, String responseSchemaId, String responseSchemaUrl, AvailabilityDecision availability, int order, String successMessage, List<String> tags) Creates an instance of aActionCatalogItemrecord class.- Parameters:
id- the value for theidrecord componentresourceKey- the value for theresourceKeyrecord componentscope- the value for thescoperecord componenttitle- the value for thetitlerecord componentdescription- the value for thedescriptionrecord componentoperationId- the value for theoperationIdrecord componentpath- the value for thepathrecord componentmethod- the value for themethodrecord componentrequestSchemaId- the value for therequestSchemaIdrecord componentrequestSchemaUrl- the value for therequestSchemaUrlrecord componentresponseSchemaId- the value for theresponseSchemaIdrecord componentresponseSchemaUrl- the value for theresponseSchemaUrlrecord componentavailability- the value for theavailabilityrecord componentorder- the value for theorderrecord componentsuccessMessage- the value for thesuccessMessagerecord componenttags- the value for thetagsrecord component
-
-
Method Details
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
resourceKey
Returns the value of theresourceKeyrecord component.- Returns:
- the value of the
resourceKeyrecord component
-
scope
Returns the value of thescoperecord component.- Returns:
- the value of the
scoperecord component
-
title
Returns the value of thetitlerecord component.- Returns:
- the value of the
titlerecord component
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-
operationId
Returns the value of theoperationIdrecord component.- Returns:
- the value of the
operationIdrecord component
-
path
Returns the value of thepathrecord component.- Returns:
- the value of the
pathrecord component
-
method
Returns the value of themethodrecord component.- Returns:
- the value of the
methodrecord component
-
requestSchemaId
Returns the value of therequestSchemaIdrecord component.- Returns:
- the value of the
requestSchemaIdrecord component
-
requestSchemaUrl
Returns the value of therequestSchemaUrlrecord component.- Returns:
- the value of the
requestSchemaUrlrecord component
-
responseSchemaId
Returns the value of theresponseSchemaIdrecord component.- Returns:
- the value of the
responseSchemaIdrecord component
-
responseSchemaUrl
Returns the value of theresponseSchemaUrlrecord component.- Returns:
- the value of the
responseSchemaUrlrecord component
-
availability
Returns the value of theavailabilityrecord component.- Returns:
- the value of the
availabilityrecord component
-
order
public int order()Returns the value of theorderrecord component.- Returns:
- the value of the
orderrecord component
-
successMessage
Returns the value of thesuccessMessagerecord component.- Returns:
- the value of the
successMessagerecord component
-
tags
Returns the value of thetagsrecord component.- Returns:
- the value of the
tagsrecord component
-