Package org.ow2.clif.jenkins.model
Class Alarm
- java.lang.Object
-
- org.ow2.clif.jenkins.model.Alarm
-
public class Alarm extends Object
Alarm that Clif generates during a test- Author:
- Julien Coste
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Alarm.Severity
-
Constructor Summary
Constructors Constructor Description Alarm()
Alarm(long date, Alarm.Severity severity, String message)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getDate()
String
getMessage()
String
getOwnerId()
String
getOwnerServer()
String
getOwnerType()
Alarm.Severity
getSeverity()
void
setDate(long date)
void
setMessage(String message)
void
setOwner(String server, String type, String id)
void
setOwnerId(String ownerId)
void
setOwnerServer(String ownerServer)
void
setOwnerType(String ownerType)
void
setSeverity(Alarm.Severity severity)
-
-
-
Field Detail
-
date
protected long date
-
severity
protected Alarm.Severity severity
-
message
protected String message
-
ownerServer
protected String ownerServer
-
ownerType
protected String ownerType
-
ownerId
protected String ownerId
-
-
Constructor Detail
-
Alarm
public Alarm()
-
Alarm
public Alarm(long date, Alarm.Severity severity, String message)
-
-
Method Detail
-
getDate
public long getDate()
-
setDate
public void setDate(long date)
-
getSeverity
public Alarm.Severity getSeverity()
-
setSeverity
public void setSeverity(Alarm.Severity severity)
-
getMessage
public String getMessage()
-
setMessage
public void setMessage(String message)
-
getOwnerServer
public String getOwnerServer()
-
setOwnerServer
public void setOwnerServer(String ownerServer)
-
getOwnerType
public String getOwnerType()
-
setOwnerType
public void setOwnerType(String ownerType)
-
getOwnerId
public String getOwnerId()
-
setOwnerId
public void setOwnerId(String ownerId)
-
-