aQute.bnd.service
Class RepositoryPlugin.PutOptions
java.lang.Object
aQute.bnd.service.RepositoryPlugin.PutOptions
- Enclosing interface:
- RepositoryPlugin
public static class RepositoryPlugin.PutOptions
- extends Object
Options used to steer the put operation
|
Field Summary |
static String |
BUNDLE
|
byte[] |
digest
The SHA1 digest of the artifact to put into the repository. |
static String |
LIB
|
String |
type
Specify the mime type of the importing stream. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BUNDLE
public static final String BUNDLE
- See Also:
- Constant Field Values
LIB
public static final String LIB
- See Also:
- Constant Field Values
digest
public byte[] digest
- The SHA1 digest of the artifact to put into the repository.
When specified the digest of the fetched artifact will be
calculated and verified against this digest, before putting
the artifact into the repository. An exception is thrown if the
specified digest and the calculated digest do not match.
type
public String type
- Specify the mime type of the importing stream. This can be either
BUNDLE or LIB. If left open, it is up to the
repository to guess the content type.
RepositoryPlugin.PutOptions
public RepositoryPlugin.PutOptions()
Copyright © 2013 aQute SARL. All Rights Reserved.