public class TestEventPatternResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
The result of the TestEventPattern operation.
Modifier and Type | Field and Description |
---|---|
private java.lang.Boolean |
result
Indicates whether the event matches the event pattern.
|
Constructor and Description |
---|
TestEventPatternResult() |
Modifier and Type | Method and Description |
---|---|
TestEventPatternResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.Boolean |
getResult()
Indicates whether the event matches the event pattern.
|
int |
hashCode() |
java.lang.Boolean |
isResult()
Indicates whether the event matches the event pattern.
|
void |
setResult(java.lang.Boolean result)
Indicates whether the event matches the event pattern.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
TestEventPatternResult |
withResult(java.lang.Boolean result)
Indicates whether the event matches the event pattern.
|
private java.lang.Boolean result
Indicates whether the event matches the event pattern.
public void setResult(java.lang.Boolean result)
Indicates whether the event matches the event pattern.
result
- Indicates whether the event matches the event pattern.public java.lang.Boolean getResult()
Indicates whether the event matches the event pattern.
public TestEventPatternResult withResult(java.lang.Boolean result)
Indicates whether the event matches the event pattern.
result
- Indicates whether the event matches the event pattern.public java.lang.Boolean isResult()
Indicates whether the event matches the event pattern.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public TestEventPatternResult clone()
clone
in class java.lang.Object