001// Generated by delombok at Fri Apr 04 00:51:49 BST 2025 002/* 003 * Licensed to the Apache Software Foundation (ASF) under one 004 * or more contributor license agreements. See the NOTICE file 005 * distributed with this work for additional information 006 * regarding copyright ownership. The ASF licenses this file 007 * to you under the Apache License, Version 2.0 (the 008 * "License"); you may not use this file except in compliance 009 * with the License. You may obtain a copy of the License at 010 * 011 * http://www.apache.org/licenses/LICENSE-2.0 012 * 013 * Unless required by applicable law or agreed to in writing, 014 * software distributed under the License is distributed on an 015 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 016 * KIND, either express or implied. See the License for the 017 * specific language governing permissions and limitations 018 * under the License. 019 */ 020package org.apache.causeway.extensions.pdfjs.wkt.integration; 021 022import org.apache.wicket.markup.head.JavaScriptReferenceType; 023 024public enum PdfJsVersion { 025 V2_X("v2x3x", "pdfjs-dist/2.16.105", JavaScriptReferenceType.TEXT_JAVASCRIPT), V3_X("v2x3x", "pdfjs-dist/3.11.174", JavaScriptReferenceType.TEXT_JAVASCRIPT), V4_X("v4x5x", "pdfjs-dist/4.10.38", JavaScriptReferenceType.MODULE), V5_X("v4x5x", "pdfjs-dist/5.0.375", JavaScriptReferenceType.MODULE); 026 private final String integrationScriptSuffix; 027 private final String webjarPath; 028 private final JavaScriptReferenceType javascriptRefType; 029 030 @java.lang.SuppressWarnings("all") 031 @lombok.Generated 032 private PdfJsVersion(final String integrationScriptSuffix, final String webjarPath, final JavaScriptReferenceType javascriptRefType) { 033 this.integrationScriptSuffix = integrationScriptSuffix; 034 this.webjarPath = webjarPath; 035 this.javascriptRefType = javascriptRefType; 036 } 037 038 @java.lang.SuppressWarnings("all") 039 @lombok.Generated 040 public String getIntegrationScriptSuffix() { 041 return this.integrationScriptSuffix; 042 } 043 044 @java.lang.SuppressWarnings("all") 045 @lombok.Generated 046 public String getWebjarPath() { 047 return this.webjarPath; 048 } 049 050 @java.lang.SuppressWarnings("all") 051 @lombok.Generated 052 public JavaScriptReferenceType getJavascriptRefType() { 053 return this.javascriptRefType; 054 } 055}