Class ImmutableCorrelation
- java.lang.Object
-
- org.opennms.netmgt.events.api.model.ImmutableCorrelation
-
- All Implemented Interfaces:
ICorrelation
public final class ImmutableCorrelation extends java.lang.Object implements ICorrelation
An immutable implementation of 'ICorrelation
'.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ImmutableCorrelation.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
getCmax()
java.lang.String
getCmin()
java.lang.String
getCtime()
java.util.List<java.lang.String>
getCueiCollection()
java.lang.String
getPath()
java.lang.String
getState()
int
hashCode()
static ICorrelation
immutableCopy(ICorrelation correlation)
static ImmutableCorrelation.Builder
newBuilder()
static ImmutableCorrelation.Builder
newBuilderFrom(ICorrelation correlation)
java.lang.String
toString()
-
-
-
Method Detail
-
newBuilder
public static ImmutableCorrelation.Builder newBuilder()
-
newBuilderFrom
public static ImmutableCorrelation.Builder newBuilderFrom(ICorrelation correlation)
-
immutableCopy
public static ICorrelation immutableCopy(ICorrelation correlation)
-
getState
public java.lang.String getState()
- Specified by:
getState
in interfaceICorrelation
-
getPath
public java.lang.String getPath()
- Specified by:
getPath
in interfaceICorrelation
-
getCueiCollection
public java.util.List<java.lang.String> getCueiCollection()
- Specified by:
getCueiCollection
in interfaceICorrelation
-
getCmin
public java.lang.String getCmin()
- Specified by:
getCmin
in interfaceICorrelation
-
getCmax
public java.lang.String getCmax()
- Specified by:
getCmax
in interfaceICorrelation
-
getCtime
public java.lang.String getCtime()
- Specified by:
getCtime
in interfaceICorrelation
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-