alma::acsplugins::alarmsystem::gui::specialalarm::SpecialAlarm Class Reference

Inheritance diagram for alma::acsplugins::alarmsystem::gui::specialalarm::SpecialAlarm:
Inheritance graph
[legend]
Collaboration diagram for alma::acsplugins::alarmsystem::gui::specialalarm::SpecialAlarm:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 SpecialAlarm (String family, String component, int code, boolean active, String action, String description, String cause, String consequences, int priority, String url, String email, Properties props) throws MalformedURLException
String getAction ()
String getAlarmId ()
Collection getCategories ()
String getCause ()
String getConsequence ()
URL getHelpURL ()
String getIdentifier ()
Location getLocation ()
String getPiquetEmail ()
String getPiquetGSM ()
Integer getPriority ()
String getProblemDescription ()
ResponsiblePerson getResponsiblePerson ()
Source getSource ()
Status getStatus ()
void setStatus (boolean active)
void setUserProperties (Properties newPros)
String getSystemName ()
Triplet getTriplet ()
boolean isInstant ()
boolean isMultiplicityChild ()
boolean isMultiplicityParent ()
boolean isNodeChild ()
boolean isNodeParent ()
Object clone () throws CloneNotSupportedException

Private Attributes

final PanelTriplet triplet
final PanelStatus status
final String action
final String description
final String cause
final String consequences
final int priority
final URL url
final String email

Detailed Description

An implementation of the Alarm to allow sending alarms to the panel through the addSpecialAlarm() method.

Author:
acaproni
Since:
ACS 8.1.0

Constructor & Destructor Documentation

alma::acsplugins::alarmsystem::gui::specialalarm::SpecialAlarm::SpecialAlarm ( String  family,
String  component,
int  code,
boolean  active,
String  action,
String  description,
String  cause,
String  consequences,
int  priority,
String  url,
String  email,
Properties  props 
) throws MalformedURLException [inline]

Build a SpecialAlarm filling the fields as requested by the alarm panel and alarm system conventions.

Refers to the properties of this class for a full description of the parameters.

Parameters:
family Fault family: can't be null nor empty.
component Fault member (or component): can't be null nor empty.
code Fault code
active true if the alarm is active
action Can't be null nor empty.
description Can't be null nor empty.
cause 
consequences 
priority Belongs to [0..3]. 0 is the highest priority.
url Can be null or empty
email 
Properties props
Exceptions:
MalformedURLException If the passed url is malformed. This exception is not thrown when url is null or empty.

References action, cause, consequences, description, email, priority, status, triplet, and url.


Member Function Documentation

Object alma::acsplugins::alarmsystem::gui::specialalarm::SpecialAlarm::clone (  )  throws CloneNotSupportedException [inline]

Cloning method. The cloned object is a deep copy.

Returns:
a deep copy of the object
Exceptions:
CloneNotSupportedException if clone failed

Implements cern::laser::client::data::Alarm.

String alma::acsplugins::alarmsystem::gui::specialalarm::SpecialAlarm::getAction (  )  [inline]
String alma::acsplugins::alarmsystem::gui::specialalarm::SpecialAlarm::getAlarmId (  )  [inline]
Collection alma::acsplugins::alarmsystem::gui::specialalarm::SpecialAlarm::getCategories (  )  [inline]
String alma::acsplugins::alarmsystem::gui::specialalarm::SpecialAlarm::getCause (  )  [inline]
String alma::acsplugins::alarmsystem::gui::specialalarm::SpecialAlarm::getConsequence (  )  [inline]
URL alma::acsplugins::alarmsystem::gui::specialalarm::SpecialAlarm::getHelpURL (  )  [inline]
String alma::acsplugins::alarmsystem::gui::specialalarm::SpecialAlarm::getIdentifier (  )  [inline]
Location alma::acsplugins::alarmsystem::gui::specialalarm::SpecialAlarm::getLocation (  )  [inline]
String alma::acsplugins::alarmsystem::gui::specialalarm::SpecialAlarm::getPiquetEmail (  )  [inline]
String alma::acsplugins::alarmsystem::gui::specialalarm::SpecialAlarm::getPiquetGSM (  )  [inline]
Integer alma::acsplugins::alarmsystem::gui::specialalarm::SpecialAlarm::getPriority (  )  [inline]
String alma::acsplugins::alarmsystem::gui::specialalarm::SpecialAlarm::getProblemDescription (  )  [inline]
ResponsiblePerson alma::acsplugins::alarmsystem::gui::specialalarm::SpecialAlarm::getResponsiblePerson (  )  [inline]
Source alma::acsplugins::alarmsystem::gui::specialalarm::SpecialAlarm::getSource (  )  [inline]
Status alma::acsplugins::alarmsystem::gui::specialalarm::SpecialAlarm::getStatus (  )  [inline]
String alma::acsplugins::alarmsystem::gui::specialalarm::SpecialAlarm::getSystemName (  )  [inline]
Triplet alma::acsplugins::alarmsystem::gui::specialalarm::SpecialAlarm::getTriplet (  )  [inline]
boolean alma::acsplugins::alarmsystem::gui::specialalarm::SpecialAlarm::isInstant (  )  [inline]
boolean alma::acsplugins::alarmsystem::gui::specialalarm::SpecialAlarm::isMultiplicityChild (  )  [inline]
boolean alma::acsplugins::alarmsystem::gui::specialalarm::SpecialAlarm::isMultiplicityParent (  )  [inline]
boolean alma::acsplugins::alarmsystem::gui::specialalarm::SpecialAlarm::isNodeChild (  )  [inline]
boolean alma::acsplugins::alarmsystem::gui::specialalarm::SpecialAlarm::isNodeParent (  )  [inline]
void alma::acsplugins::alarmsystem::gui::specialalarm::SpecialAlarm::setStatus ( boolean  active  )  [inline]
void alma::acsplugins::alarmsystem::gui::specialalarm::SpecialAlarm::setUserProperties ( Properties  newPros  )  [inline]

Set the user properties of the alarm

Parameters:
newPros The new properties

References alma::acsplugins::alarmsystem::gui::specialalarm::PanelStatus::setUserProps(), and status.

Referenced by alma::acs::alarm::test::panel::SpecialAlarmTest::testSetProperties().


Member Data Documentation

The action to fix the problem

Referenced by getAction(), and SpecialAlarm().

The cause that generate the problem

Referenced by getCause(), and SpecialAlarm().

Referenced by getConsequence(), and SpecialAlarm().

Description of the problem

Referenced by getProblemDescription(), and SpecialAlarm().

Email address of the responsible for the alarm.

Referenced by getPiquetEmail(), and SpecialAlarm().

The priority, or level, of the alarm.

priority is in [0..3] being 0 the highest priority.

Referenced by getPriority(), and SpecialAlarm().

The status of the alarm

Referenced by getStatus(), setStatus(), setUserProperties(), and SpecialAlarm().

The triplet

Referenced by getAlarmId(), getTriplet(), and SpecialAlarm().

The RUL with the detailed documentation of the alarm

Referenced by getHelpURL(), and SpecialAlarm().


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2