587
|
1 |
/*
|
|
2 |
* Copyright (c) 2007-2008 Nokia Corporation and/or its subsidiary(-ies).
|
|
3 |
* All rights reserved.
|
|
4 |
* This component and the accompanying materials are made available
|
|
5 |
* under the terms of the License "Eclipse Public License v1.0"
|
|
6 |
* which accompanies this distribution, and is available
|
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
8 |
*
|
|
9 |
* Initial Contributors:
|
|
10 |
* Nokia Corporation - initial contribution.
|
|
11 |
*
|
|
12 |
* Contributors:
|
|
13 |
*
|
|
14 |
* Description:
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
|
|
19 |
package com.nokia.helium.signal;
|
|
20 |
|
|
21 |
import org.apache.tools.ant.Project;
|
628
|
22 |
|
587
|
23 |
import com.nokia.helium.signal.ant.types.NotifierInput;
|
|
24 |
|
|
25 |
/**
|
|
26 |
* This interface describe what method a Notifier needs to implement.
|
|
27 |
*
|
|
28 |
*/
|
|
29 |
public interface Notifier {
|
|
30 |
|
|
31 |
/**
|
|
32 |
* Setting the project.
|
|
33 |
*
|
|
34 |
* @param project
|
|
35 |
*/
|
|
36 |
void setProject(Project project);
|
|
37 |
|
|
38 |
/**
|
|
39 |
* Sends the data to the requested sender list with specified notifier
|
|
40 |
*
|
|
41 |
* @param signalName is the name of the signal that has been raised.
|
|
42 |
* @param failStatus indicates whether to fail the build or not
|
|
43 |
* @param notifierInput contains signal notifier info
|
|
44 |
* @param message is the message from the signal that has been raised.
|
|
45 |
*/
|
|
46 |
void sendData(String signalName, boolean failStatus,
|
|
47 |
NotifierInput notifierInput, String message );
|
|
48 |
|
|
49 |
} |