Class RuntimeRepositoryEventUpdateFinished.Builder
java.lang.Object
com.io7m.coffeepick.repository.spi.RuntimeRepositoryEventUpdateFinished.Builder
- Enclosing class:
- RuntimeRepositoryEventUpdateFinished
public static final class RuntimeRepositoryEventUpdateFinished.Builder
extends java.lang.Object
Builds instances of type
RuntimeRepositoryEventUpdateFinished.
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.
-
Method Summary
Modifier and Type Method Description RuntimeRepositoryEventUpdateFinishedbuild()Builds a newRuntimeRepositoryEventUpdateFinished.RuntimeRepositoryEventUpdateFinished.Builderfrom(RuntimeRepositoryEventType instance)Fill a builder with attribute values from the providedcom.io7m.coffeepick.repository.spi.RuntimeRepositoryEventTypeinstance.RuntimeRepositoryEventUpdateFinished.Builderfrom(RuntimeRepositoryEventUpdateFinishedType instance)Fill a builder with attribute values from the providedcom.io7m.coffeepick.repository.spi.RuntimeRepositoryEventUpdateFinishedTypeinstance.RuntimeRepositoryEventUpdateFinished.Builderfrom(RuntimeRepositoryEventUpdateType instance)Fill a builder with attribute values from the providedcom.io7m.coffeepick.repository.spi.RuntimeRepositoryEventUpdateTypeinstance.RuntimeRepositoryEventUpdateFinished.BuildersetRepository(java.net.URI repository)Initializes the value for therepositoryattribute.
-
Method Details
-
from
public final RuntimeRepositoryEventUpdateFinished.Builder from(RuntimeRepositoryEventType instance)Fill a builder with attribute values from the providedcom.io7m.coffeepick.repository.spi.RuntimeRepositoryEventTypeinstance.- Parameters:
instance- The instance from which to copy values- Returns:
thisbuilder for use in a chained invocation
-
from
public final RuntimeRepositoryEventUpdateFinished.Builder from(RuntimeRepositoryEventUpdateFinishedType instance)Fill a builder with attribute values from the providedcom.io7m.coffeepick.repository.spi.RuntimeRepositoryEventUpdateFinishedTypeinstance.- Parameters:
instance- The instance from which to copy values- Returns:
thisbuilder for use in a chained invocation
-
from
public final RuntimeRepositoryEventUpdateFinished.Builder from(RuntimeRepositoryEventUpdateType instance)Fill a builder with attribute values from the providedcom.io7m.coffeepick.repository.spi.RuntimeRepositoryEventUpdateTypeinstance.- Parameters:
instance- The instance from which to copy values- Returns:
thisbuilder for use in a chained invocation
-
setRepository
Initializes the value for therepositoryattribute.- Parameters:
repository- The value for repository- Returns:
thisbuilder for use in a chained invocation
-
build
Builds a newRuntimeRepositoryEventUpdateFinished.- Returns:
- An immutable instance of RuntimeRepositoryEventUpdateFinished
- Throws:
java.lang.IllegalStateException- if any required attributes are missing
-