All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.sling.provisioning.model.ModelConstants Maven / Gradle / Ivy

There is a newer version: 2024.11.18751.20241128T090041Z-241100
Show newest version
/*
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements. See the NOTICE file distributed with this
 * work for additional information regarding copyright ownership. The ASF
 * licenses this file to You under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */
package org.apache.sling.provisioning.model;

/**
 * Constants for the provisioning model.
 */
public abstract class ModelConstants {

    /** Name of Sling's launchpad feature. */
    public static final String FEATURE_LAUNCHPAD = ":launchpad";

    /** Name of the boot feature */
    public static final String FEATURE_BOOT = ":boot";

    /**
     * Name of the configuration containing the web.xml. This configuration
     * is used by the launchpad feature.
     */
    public static final String CFG_LAUNCHPAD_WEB_XML = ":web.xml";

    /**
     * Name of the configuration for the bootstrap contents. This
     * configuration is used by the launchpad feature.
     */
    public static final String CFG_LAUNCHPAD_BOOTSTRAP = ":bootstrap";

    /** Unprocessed configuration values. */
    public static final String CFG_UNPROCESSED = ":rawconfig";

    /** Format of the unprocessed configuration values. */
    public static final String CFG_UNPROCESSED_FORMAT = ":rawconfig.format";

    /**
     * Format of the unprocessed configuration values.
     * @since 1.1
     */
    public static final String CFG_UNPROCESSED_MODE = ":rawconfig.mode";

    /** Format of the Apache Felix Config Admin. */
    public static final String CFG_FORMAT_FELIX_CA = "felixca";

    /** Property file format. */
    public static final String CFG_FORMAT_PROPERTIES = "properties";

    /**
     * Mode for overwriting a configuration.
     * @since 1.1
     */
    public static final String CFG_MODE_OVERWRITE = "overwrite";

    /**
     * Mode for merging a configuration
     * @since 1.1
     */
    public static final String CFG_MODE_MERGE = "merge";

    /** Name of the webapp run mode. */
    public static final String RUN_MODE_WEBAPP = ":webapp";

    /** Name of the standalone run mode. */
    public static final String RUN_MODE_STANDALONE = ":standalone";

    /** Default run mode value */
    public static final String DEFAULT_RUN_MODE = null;

    /** Default start level value */
    public static final int DEFAULT_START_LEVEL = 0;

    /**
     * Name of the run mode to remove things from the base model.
     * @since 1.1
     */
    public static final String RUN_MODE_REMOVE = ":remove";
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy