public interface ExternalComponentSource
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
getAllChannels()
Gets a list of all available channels for this source.
|
java.util.Collection<UpdatableExternalComponent> |
getAvailableVersions(ProgressIndicator indicator,
UpdateSettings updateSettings)
Retrieve information on the updates that this source can provide.
|
java.util.Collection<UpdatableExternalComponent> |
getCurrentVersions()
Retrieve information on currently installed components.
|
java.lang.String |
getName()
Gets a human-readable name for this source.
|
java.util.Collection<? extends Pair<java.lang.String,java.lang.String>> |
getStatuses() |
void |
installUpdates(java.util.Collection<UpdatableExternalComponent> request)
Install updates for the given
UpdatableExternalComponent s. |
java.util.Collection<UpdatableExternalComponent> getAvailableVersions(ProgressIndicator indicator, UpdateSettings updateSettings)
indicator
- A ProgressIndicator
that can be updated to show progress, or can be used to cancel the process.updateSettings
- The current UpdateSettingsUpdatableExternalComponent
s representing the available updates.java.util.Collection<UpdatableExternalComponent> getCurrentVersions()
UpdatableExternalComponent
s.void installUpdates(java.util.Collection<UpdatableExternalComponent> request)
UpdatableExternalComponent
s.request
- java.lang.String getName()
java.util.Collection<? extends Pair<java.lang.String,java.lang.String>> getStatuses()
java.util.List<java.lang.String> getAllChannels()
null
to indicate that this source does not have different update channels.