@Generated(value={"Immutables.generator","ProcessListener.Helper"}) public final class ImmutableHelper extends Object implements ProcessListener.Helper
ProcessListener.Helper.
Use the builder to create immutable instances:
ImmutableHelper.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableHelper.Builder
Builds instances of type
ImmutableHelper. |
ProcessListener.Helper| Modifier and Type | Method and Description |
|---|---|
static ImmutableHelper.Builder |
builder()
Creates a builder for
ImmutableHelper. |
static ImmutableHelper |
copyOf(ProcessListener.Helper instance)
Creates an immutable copy of a
ProcessListener.Helper value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableHelper that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
onStateChange, onStateChangeFailedWithRetry. |
ProcessOnStateChange |
onStateChange() |
ProcessOnStateChangeFailedWithRetry |
onStateChangeFailedWithRetry() |
String |
toString()
Prints the immutable value
Helper with attribute values. |
ImmutableHelper |
withOnStateChange(ProcessOnStateChange value)
Copy the current immutable object by setting a value for the
onStateChange attribute. |
ImmutableHelper |
withOnStateChangeFailedWithRetry(ProcessOnStateChangeFailedWithRetry value)
Copy the current immutable object by setting a value for the
onStateChangeFailedWithRetry attribute. |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitonStateChange, onStateChangeFailedWithRetrynooppublic ProcessOnStateChange onStateChange()
onStateChange in interface ProcessListener.HelperonStateChange attributepublic ProcessOnStateChangeFailedWithRetry onStateChangeFailedWithRetry()
onStateChangeFailedWithRetry in interface ProcessListener.HelperonStateChangeFailedWithRetry attributepublic final ImmutableHelper withOnStateChange(ProcessOnStateChange value)
onStateChange attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for onStateChangethis objectpublic final ImmutableHelper withOnStateChangeFailedWithRetry(ProcessOnStateChangeFailedWithRetry value)
onStateChangeFailedWithRetry attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for onStateChangeFailedWithRetrythis objectpublic boolean equals(Object another)
ImmutableHelper that have equal attribute values.public int hashCode()
onStateChange, onStateChangeFailedWithRetry.public String toString()
Helper with attribute values.public static ImmutableHelper copyOf(ProcessListener.Helper instance)
ProcessListener.Helper value.
Uses accessors to get values to initialize the new immutable instance.
If an instance is already immutable, it is returned as is.instance - The instance to copypublic static ImmutableHelper.Builder builder()
ImmutableHelper.builder in interface ProcessListenerCopyright © 2017. All rights reserved.