| /******************************************************************************* |
| * Copyright (c) 2012 EclipseSource Muenchen GmbH. |
| * |
| * 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 |
| * |
| * Contributors: |
| ******************************************************************************/ |
| package org.eclipse.emf.emfstore.client.ui.errorreporting; |
| |
| /** |
| * Interface used for error reporting feature. |
| * |
| * @author emueller |
| * |
| */ |
| public interface IMailBugConfigurationProvider { |
| |
| /** |
| * Returns the E-Mail address used for error reporting. |
| * |
| * @return the E-Mail address |
| */ |
| String getEmailAddress(); |
| |
| /** |
| * Returns the E-Mail subject used within the error reporting feature. |
| * |
| * @return the E-Mail subject |
| */ |
| String getEmailSubject(); |
| |
| /** |
| * Returns the E-Mail body text used within the error reporting feature. |
| * |
| * @param errorDiagnosisCaptured |
| * whether error diagnosis information has been captured |
| * |
| * @return the E-Mail message body |
| */ |
| String getEmailBody(boolean errorDiagnosisCaptured); |
| |
| } |