public interface RemotePackage extends RepoPackage
RepoPackage,
RemotePackage has an associated RepositorySource and archives.PATH_SEPARATOR| Modifier and Type | Method and Description |
|---|---|
Archive |
getArchive() |
Channel |
getChannel()
Gets the update channel (e.g.
|
java.io.File |
getInstallDir(RepoManager manager,
ProgressIndicator progress)
Gets the path into which this
RemotePackage should be installed. |
RepositorySource |
getSource() |
void |
setSource(RepositorySource source) |
asMarshallable, createFactory, getAllDependencies, getDisplayName, getLicense, getPath, getTypeDetails, getVersion, obsolete@NonNull RepositorySource getSource()
RepositorySource from which we got this package.void setSource(@NonNull
RepositorySource source)
source - The RepositorySource from which we got this package.@Nullable Archive getArchive()
null if there is none.@NonNull Channel getChannel()
@NonNull
java.io.File getInstallDir(@NonNull
RepoManager manager,
@NonNull
ProgressIndicator progress)
RemotePackage should be installed.java.io.IOException - if the generated path is invalid, or manager doesn't support
a local repository.