public final class Rpm extends Object
Rpm rpm = new Rpm(storage);Then, you put your binary RPM artifact to the storage and call
batchUpdate(Key). This method will parse the all RPM packages
in repository and update all the necessary meta-data files. Right after this,
your clients will be able to use the package, via yum:
rpm.batchUpdate(new Key.From("rmp-repo"));| Constructor and Description |
|---|
Rpm(com.artipie.asto.Storage stg)
New Rpm for repository in storage.
|
Rpm(com.artipie.asto.Storage stg,
NamingPolicy naming,
Digest dgst)
Ctor.
|
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.Completable |
batchUpdate(com.artipie.asto.Key prefix)
Batch update RPM files for repository.
|
io.reactivex.Completable |
batchUpdate(String prefix)
Deprecated.
use
batchUpdate(Key) instead |
io.reactivex.Completable |
update(com.artipie.asto.Key key)
Deprecated.
This method calls
batchUpdate(Key) with parent of the key |
io.reactivex.Completable |
update(String key)
Deprecated.
use
update(Key) instead |
public Rpm(com.artipie.asto.Storage stg)
stg - The storage which contains repositorypublic Rpm(com.artipie.asto.Storage stg,
NamingPolicy naming,
Digest dgst)
stg - The storagenaming - RPM files naming policydgst - Hashing sum computation algorithm@Deprecated public io.reactivex.Completable update(String key)
update(Key) insteadkey - The name of the file just updated@Deprecated public io.reactivex.Completable update(com.artipie.asto.Key key)
batchUpdate(Key) with parent of the keykey - The name of the file just updated@Deprecated public io.reactivex.Completable batchUpdate(String prefix)
batchUpdate(Key) insteadprefix - Repository key prefix (String)public io.reactivex.Completable batchUpdate(com.artipie.asto.Key prefix)
prefix - Repository key prefixCopyright © 2019–2020 jcabi.com. All rights reserved.