buildframework/helium/sf/java/signaling/src/com/nokia/helium/signal/ant/types/NotifyWhenEnum.java
equal
deleted
inserted
replaced
|
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 package com.nokia.helium.signal.ant.types; |
|
18 |
|
19 import org.apache.tools.ant.types.EnumeratedAttribute; |
|
20 |
|
21 /** |
|
22 * Enum class for the notifyWhen attribute. |
|
23 */ |
|
24 public class NotifyWhenEnum extends EnumeratedAttribute { |
|
25 |
|
26 /** |
|
27 * @return the list of allowed values. |
|
28 */ |
|
29 @Override |
|
30 public String[] getValues() { |
|
31 String[] values = new String[3]; |
|
32 values[0] = "always"; |
|
33 values[1] = "fail"; |
|
34 values[2] = "pass"; |
|
35 return values; |
|
36 } |
|
37 } |