Class ImmutableAutoAction
- java.lang.Object
-
- org.opennms.netmgt.events.api.model.ImmutableAutoAction
-
- All Implemented Interfaces:
IAutoAction
public final class ImmutableAutoAction extends java.lang.Object implements IAutoAction
An immutable implementation of 'IAutoAction
'.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ImmutableAutoAction.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
getContent()
java.lang.String
getState()
int
hashCode()
static IAutoAction
immutableCopy(IAutoAction autoAction)
static ImmutableAutoAction.Builder
newBuilder()
static ImmutableAutoAction.Builder
newBuilderFrom(IAutoAction autoAction)
java.lang.String
toString()
-
-
-
Method Detail
-
newBuilder
public static ImmutableAutoAction.Builder newBuilder()
-
newBuilderFrom
public static ImmutableAutoAction.Builder newBuilderFrom(IAutoAction autoAction)
-
immutableCopy
public static IAutoAction immutableCopy(IAutoAction autoAction)
-
getContent
public java.lang.String getContent()
- Specified by:
getContent
in interfaceIAutoAction
-
getState
public java.lang.String getState()
- Specified by:
getState
in interfaceIAutoAction
-
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
-
-