| /******************************************************************************* |
| * Copyright (c) 2008 Sonatype, Inc. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| *******************************************************************************/ |
| |
| package org.eclipse.m2e.wtp.preferences; |
| |
| /** |
| * Preferences for Maven WTP |
| * |
| * @author Fred Bricon |
| */ |
| public interface IMavenWtpPreferences { |
| |
| /** |
| * Indicates if the application.xml should be generated under the build directory. |
| * false indicates the first resource directory of the project will be used instead. |
| * |
| * @return true if the application.xml should be generated under the build directory |
| */ |
| boolean isApplicationXmGeneratedInBuildDirectory(); |
| |
| void setApplicationXmGeneratedInBuildDirectory(boolean isEnabled); |
| |
| /** |
| * Indicates if the project uses specific settings. |
| * @return true if the project settings override the workspace preferences. |
| */ |
| boolean isEnabledProjectSpecificSettings(); |
| |
| void setEnabledProjectSpecificSettings(boolean isEnabled); |
| |
| /** |
| * Indicates if the Maven Archiver should try to generate files in the build directory. |
| * false indicates the content directory of the project will be used instead, unless resource filtering is activated. |
| * |
| * @return true if the Maven Archiver should try to generate files in the build directory. |
| */ |
| boolean isWebMavenArchiverUsesBuildDirectory(); |
| |
| void setWebMavenArchiverUsesBuildDirectory(boolean isEnabled); |
| |
| } |