Class CommandFactory


  • public class CommandFactory
    extends Object
    • Constructor Detail

      • CommandFactory

        public CommandFactory()
    • Method Detail

      • unmarshall

        public static ICommand unmarshall​(com.fasterxml.jackson.databind.node.ObjectNode from)
      • createAddHeaderExampleCommand

        public static ICommand createAddHeaderExampleCommand​(OpenApiHeader header,
                                                             com.fasterxml.jackson.databind.JsonNode example,
                                                             String exampleName,
                                                             String exampleSummary,
                                                             String exampleDescription)
      • createAddParameterExampleCommand

        public static ICommand createAddParameterExampleCommand​(OpenApiParameter parameter,
                                                                com.fasterxml.jackson.databind.JsonNode example,
                                                                String exampleName,
                                                                String exampleSummary,
                                                                String exampleDescription)
      • createAddHeaderExampleCommand

        public static ICommand createAddHeaderExampleCommand​(OpenApiMediaType mediaType,
                                                             com.fasterxml.jackson.databind.JsonNode example,
                                                             String exampleName,
                                                             String exampleSummary,
                                                             String exampleDescription)
      • createAddResponseDefinitionCommand

        public static ICommand createAddResponseDefinitionCommand​(String definitionName,
                                                                  com.fasterxml.jackson.databind.node.ObjectNode from)
      • createAddSchemaDefinitionCommand

        public static ICommand createAddSchemaDefinitionCommand​(String definitionName,
                                                                com.fasterxml.jackson.databind.node.ObjectNode from)
      • createChangePropertyCommand

        public static <T> ICommand createChangePropertyCommand​(Node node,
                                                               String property,
                                                               T newValue)
      • createAddChannelItemCommand

        public static ICommand createAddChannelItemCommand​(String channelItemName,
                                                           com.fasterxml.jackson.databind.node.ObjectNode from)
      • createAddPathItemCommand

        public static ICommand createAddPathItemCommand​(String pathItemName,
                                                        com.fasterxml.jackson.databind.node.ObjectNode from)
      • createChangeTitleCommand

        public static ICommand createChangeTitleCommand​(String newTitle)
      • createChangeDescriptionCommand

        public static ICommand createChangeDescriptionCommand​(String newDescription)
      • createChangeVersionCommand

        public static ICommand createChangeVersionCommand​(String newVersion)
      • createChangeLicenseCommand

        public static ICommand createChangeLicenseCommand​(String name,
                                                          String url)
      • createDeleteLicenseCommand

        public static ICommand createDeleteLicenseCommand​(Info info)
      • createDeleteContactCommand

        public static ICommand createDeleteContactCommand​(Info info)
      • createDeleteExtensionCommand

        public static ICommand createDeleteExtensionCommand​(Extensible parent,
                                                            String extensionName)
      • createDeleteAllChildSchemasCommand

        public static ICommand createDeleteAllChildSchemasCommand​(Schema parent,
                                                                  String type)
      • createDeleteAllMediaTypeExamplesCommand

        public static ICommand createDeleteAllMediaTypeExamplesCommand​(OpenApiMediaType mediaType)
      • createDeleteAllParameterExamplesCommand

        public static ICommand createDeleteAllParameterExamplesCommand​(OpenApiParameter parameter)
      • createDeleteAllHeaderExamplesCommand

        public static ICommand createDeleteAllHeaderExamplesCommand​(OpenApiHeader header)
      • createDeleteAllResponseHeadersCommand

        public static ICommand createDeleteAllResponseHeadersCommand​(OpenApiResponse header)
      • createDeleteAllEncodingHeadersCommand

        public static ICommand createDeleteAllEncodingHeadersCommand​(OpenApiEncoding header)
      • createDeleteAllPathItemOperationsCommand

        public static ICommand createDeleteAllPathItemOperationsCommand​(OpenApiPathItem pathItem)
      • createDeleteAllPathItemParametersCommand

        public static ICommand createDeleteAllPathItemParametersCommand​(OpenApiPathItem parent,
                                                                        String type)
      • createDeleteAllOperationParametersCommand

        public static ICommand createDeleteAllOperationParametersCommand​(OpenApiOperation parent,
                                                                         String type)
      • createDeleteAllPropertiesCommand

        public static ICommand createDeleteAllPropertiesCommand​(Schema schema)
      • createDeleteAllResponsesCommand

        public static ICommand createDeleteAllResponsesCommand​(OpenApiOperation operation)
      • createDeleteAllServerSecurityRequirementsCommand

        public static ICommand createDeleteAllServerSecurityRequirementsCommand​(AsyncApiServer server)
      • createDeleteAllOperationSecurityRequirementsCommand

        public static ICommand createDeleteAllOperationSecurityRequirementsCommand​(OpenApiOperation operation)
      • createDeleteAllDocumentSecurityRequirementsCommand

        public static ICommand createDeleteAllDocumentSecurityRequirementsCommand​(OpenApiDocument document)
      • createDeleteAllSecuritySchemesCommand

        public static ICommand createDeleteAllSecuritySchemesCommand()
      • createDeleteAllTagsCommand

        public static ICommand createDeleteAllTagsCommand()
      • createDeleteAllDocumentServersCommand

        public static ICommand createDeleteAllDocumentServersCommand​(OpenApiDocument document)
      • createDeleteAllPathItemServersCommand

        public static ICommand createDeleteAllPathItemServersCommand​(OpenApiPathItem pathItem)
      • createDeleteAllOperationServersCommand

        public static ICommand createDeleteAllOperationServersCommand​(OpenApiOperation operation)