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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default RuntimeRepositoryEventUpdateType.Kindkind()doubleprogress()java.net.URIrepository()
-
-
-
Method Detail
-
repository
java.net.URI repository()
- Specified by:
repositoryin interfaceRuntimeRepositoryEventType- Specified by:
repositoryin interfaceRuntimeRepositoryEventUpdateType- Returns:
- The URI of the repository provider
-
kind
default RuntimeRepositoryEventUpdateType.Kind kind()
- Specified by:
kindin interfaceRuntimeRepositoryEventUpdateType- Returns:
- The kind of event
-
progress
double progress()
- Returns:
- The update progress in the range [0, 1]
-
-