Interface RuntimeRepositoryEventUpdateRunningType
- All Superinterfaces:
RuntimeRepositoryEventType
,RuntimeRepositoryEventUpdateType
- All Known Implementing Classes:
RuntimeRepositoryEventUpdateRunning
@Immutable public interface RuntimeRepositoryEventUpdateRunningType extends RuntimeRepositoryEventUpdateType
A repository update is running.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.io7m.coffeepick.repository.spi.RuntimeRepositoryEventUpdateType
RuntimeRepositoryEventUpdateType.Kind
-
Method Summary
Modifier and Type Method Description default RuntimeRepositoryEventUpdateType.Kind
kind()
double
progress()
java.net.URI
repository()
-
Method Details
-
repository
java.net.URI repository()- Specified by:
repository
in interfaceRuntimeRepositoryEventType
- Specified by:
repository
in interfaceRuntimeRepositoryEventUpdateType
- Returns:
- The URI of the repository provider
-
kind
- Specified by:
kind
in interfaceRuntimeRepositoryEventUpdateType
- Returns:
- The kind of event
-
progress
double progress()- Returns:
- The update progress in the range [0, 1]
-