public static final class ImmutableTransitionVertex.Builder extends Object
ImmutableTransitionVertex.
Initialize attributes and then invoke the build() method to create an
immutable instance.
Builder is not thread-safe and generally should not be stored in a field or collection,
but instead used immediately to create instances.
| Modifier and Type | Method and Description |
|---|---|
ImmutableTransitionVertex |
build()
Builds a new
ImmutableTransitionVertex. |
ImmutableTransitionVertex.Builder |
from(TransitionVertex instance)
Fill a builder with attribute values from the provided
TransitionVertex instance. |
ImmutableTransitionVertex.Builder |
transition(Transition<?> transition)
Initializes the value for the
transition attribute. |
public final ImmutableTransitionVertex.Builder from(TransitionVertex instance)
TransitionVertex instance.
Regular attribute values will be replaced with those from the given instance.
Absent optional values will not replace present values.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final ImmutableTransitionVertex.Builder transition(Transition<?> transition)
transition attribute.transition - The value for transitionthis builder for use in a chained invocationpublic ImmutableTransitionVertex build()
ImmutableTransitionVertex.IllegalStateException - if any required attributes are missingCopyright © 2025. All rights reserved.