|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.netmgt.correlation.drools.Cause
public class Cause
Cause class.
| Nested Class Summary | |
|---|---|
static class |
Cause.Type
|
| Constructor Summary | |
|---|---|
Cause(Cause.Type type,
Long cause,
Event symptom)
Constructor for Cause. |
|
Cause(Cause.Type type,
Long cause,
Event symptom,
Integer timerId)
Constructor for Cause. |
|
| Method Summary | |
|---|---|
void |
addImpacted(Cause cause)
addImpacted |
Long |
getCause()
getCause |
Set<Cause> |
getImpacted()
getImpacted |
Event |
getSymptom()
getSymptom |
Integer |
getTimerId()
getTimerId |
Cause.Type |
getType()
getType |
void |
setCause(Long causeNodeId)
setCause |
void |
setSymptom(Event symptomEvent)
setSymptom |
void |
setTimerId(Integer timerId)
setTimerId |
void |
setType(Cause.Type type)
setType |
String |
toString()
toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Cause(Cause.Type type,
Long cause,
Event symptom,
Integer timerId)
Constructor for Cause.
type - a Cause.Type object.cause - a Long object.symptom - a Event object.timerId - a Integer object.
public Cause(Cause.Type type,
Long cause,
Event symptom)
Constructor for Cause.
type - a Cause.Type object.cause - a Long object.symptom - a Event object.| Method Detail |
|---|
public Cause.Type getType()
getType
Cause.Type object.public void setType(Cause.Type type)
setType
type - a Cause.Type object.public Long getCause()
getCause
Long object.public void setCause(Long causeNodeId)
setCause
causeNodeId - a Long object.public Event getSymptom()
getSymptom
Event object.public void setSymptom(Event symptomEvent)
setSymptom
symptomEvent - a Event object.public Set<Cause> getImpacted()
getImpacted
Set object.public void addImpacted(Cause cause)
addImpacted
cause - a Cause object.public String toString()
toString
toString in class ObjectString object.public Integer getTimerId()
getTimerId
Integer object.public void setTimerId(Integer timerId)
setTimerId
timerId - a Integer object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||