1 /*
2 * Copyright (c) 2002-2025, City of Paris
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 *
9 * 1. Redistributions of source code must retain the above copyright notice
10 * and the following disclaimer.
11 *
12 * 2. Redistributions in binary form must reproduce the above copyright notice
13 * and the following disclaimer in the documentation and/or other materials
14 * provided with the distribution.
15 *
16 * 3. Neither the name of 'Mairie de Paris' nor 'Lutece' nor the names of its
17 * contributors may be used to endorse or promote products derived from
18 * this software without specific prior written permission.
19 *
20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE
24 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
25 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
26 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
30 * POSSIBILITY OF SUCH DAMAGE.
31 *
32 * License 1.0
33 */
34 package fr.paris.lutece.plugins.pluginwizard.web;
35
36 /**
37 *
38 * The class which contains the property keys and other constants
39 *
40 */
41 public final class Constants
42 {
43 // Properties for page titles
44 public static final String PROPERTY_PAGE_TITLE_CREATE_PLUGIN_DESCRIPTION = "wizard.wizard_plugin_description.pageTitle";
45
46 // Trigger Names
47 public static final String PROPERTY_DATABASE_DIRECTORY_TRIGGER = "DatabaseCreationDummy";
48 public static final String PROPERTY_JSP_BEAN_DIRECTORY_TRIGGER = "JspBeanTemplateDummy";
49 public static final String PROPERTY_BUSINESS_CLASS_DIRECTORY_TRIGGER = "BusinessClassDummy";
50 public static final String PROPERTY_BACK_OFFICE_TEMPLATES_DIRECTORY_TRIGGER = "HtmlTemplateBackDummy";
51 public static final String PROPERTY_BACK_OFFICE_JSP_DIRECTORY_TRIGGER = "BackOfficeJspDummy";
52 public static final String PROPERTY_PROPERTIES_RESOURCES_DIRECTORY_TRIGGER = "PropertiesDummy";
53
54 // File Naming
55 public static final String PROPERTY_DATABASE_PREFIX = "create_db_";
56 public static final String PROPERTY_XPAGE_SUFFIX = "App";
57
58 // The parameters for handling conditional generation
59 public static final String PARAM_ADD_BUSINESS_CLASSES = "add_business_classes";
60 public static final String PARAM_ADD_SQL_FILES = "add_sql_files";
61 public static final String PARAM_ADD_JSP_BEAN = "add_jsp_bean";
62 public static final String PARAM_ADD_BACK_OFFICE_TEMPLATE = "add_back_office_template";
63 public static final String PARAM_ADD_RESOURCE_FILES = "add_resource_files";
64 public static final String PARAM_ADD_BACK_OFFICE_JSP = "add_back_office_jsp";
65 public static final String PARAM_ADD_PLUGIN_PROPERTIES_FILE = "add_plugin_properties_file";
66 public static final String PARAM_ADD_MAVEN_POM_XML = "add_maven_pom_xml";
67 public static final String PARAM_ADD_PLUGIN_XML_DEFINITION = "plugin_xml_definition";
68 public static final String PARAM_ADD_SPRING_CONTEXT_XML = "add_spring_context_xml";
69
70 /**
71 * Private constructor
72 */
73 private Constants( )
74 {
75 }
76 }