Interface ProtoBuilder.Lifecycle
- Enclosing class:
- ProtoBuilder<C,
B extends ProtoBuilder<C, B>>
public static interface ProtoBuilder.Lifecycle
Abstracts a lifecycle controller for a
ProtoBuilder implementation.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ProtoBuilder.LifecycleDefines a simple lifecycle controller for implementations that don't actually need one. -
Method Summary
-
Field Details
-
INFINITE
Defines a simple lifecycle controller for implementations that don't actually need one.
-
-
Method Details
-
check
void check()Will be called on any setup step.- Throws:
IllegalStateException- if the lifecycle does not allow further setup on the associated core instance.
-
increment
void increment()Will be called on any final build step.
-