Class ImmutableScript
- java.lang.Object
-
- org.opennms.netmgt.events.api.model.ImmutableScript
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ImmutableScript.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
getLanguage()
int
hashCode()
static IScript
immutableCopy(IScript script)
static ImmutableScript.Builder
newBuilder()
static ImmutableScript.Builder
newBuilderFrom(IScript script)
java.lang.String
toString()
-
-
-
Method Detail
-
newBuilder
public static ImmutableScript.Builder newBuilder()
-
newBuilderFrom
public static ImmutableScript.Builder newBuilderFrom(IScript script)
-
getContent
public java.lang.String getContent()
- Specified by:
getContent
in interfaceIScript
-
getLanguage
public java.lang.String getLanguage()
- Specified by:
getLanguage
in interfaceIScript
-
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
-
-