blob: 6c8667f2a154b879d2fca573a2364f85e9a6d27e [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2013, 2014 IBM Corporation and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.releng.internal.tools.pomversion;
import org.eclipse.releng.tools.RelEngPlugin;
/**
* Contains all the constants used by the POM version tool.
*/
public interface IPomVersionConstants {
/**
* The marker type id for POM version problems specified in the markers extension.
* Value is: <code>org.eclipse.releng.tools.pomVersionProblem</code>
*/
public final static String PROBLEM_MARKER_TYPE = RelEngPlugin.ID + ".pomVersionProblem"; //$NON-NLS-1$
/**
* String attribute stored in the problem marker for the correct version that should be in the POM file
*/
public static final String POM_CORRECT_VERSION = "pom.CorrectVersion"; //$NON-NLS-1$
/**
* Preference setting that stores the severity level for pom version problem markers.
* Preference value must be a string and one of {@link #VALUE_ERROR}, {@link #VALUE_WARNING} or {@link #VALUE_IGNORE}.
*/
public final static String POM_VERSION_ERROR_LEVEL = RelEngPlugin.ID + ".invalidPomVersionErrorLevel"; //$NON-NLS-1$
/**
* Preference setting that stores a version number that identifies the revision of the plug-in that last validated the whole workspace.
* Preference value must be an integer.
*/
public final static String WORKSPACE_VALIDATED = RelEngPlugin.ID + ".workspaceValidated"; //$NON-NLS-1$
/**
* Constant representing the preference value 'ignore'.
* Value is: <code>Ignore</code>
*/
public static final String VALUE_IGNORE = "Ignore"; //$NON-NLS-1$
/**
* Constant representing the preference value 'warning'.
* Value is: <code>Warning</code>
*/
public static final String VALUE_WARNING = "Warning"; //$NON-NLS-1$
/**
* Constant representing the preference value 'error'.
* Value is: <code>Error</code>
*/
public static final String VALUE_ERROR = "Error"; //$NON-NLS-1$
}