1 /**
2 * Copyright (C) 2010-14 pvmanager developers. See COPYRIGHT.TXT
3 * All rights reserved. Use is subject to license terms. See LICENSE.TXT
4 */
5 package org.epics.vtype;
6
7 /**
8 * Alarm information. Represents the severity and name of the highest alarm
9 * associated with the channel.
10 *
11 * @author carcassi
12 */
13 public interface Alarm {
14
15 /**
16 * Returns the alarm severity, which describes the quality of the
17 * value returned. Never null.
18 *
19 * @return the alarm severity
20 */
21 AlarmSeverity getAlarmSeverity();
22
23 /**
24 * Returns a brief text representation of the highest currently active alarm.
25 * Never null.
26 *
27 * @return the alarm status
28 */
29 String getAlarmName();
30 }