Package aQute.bnd.service
Class RepositoryPlugin.PutOptions
java.lang.Object
aQute.bnd.service.RepositoryPlugin.PutOptions
- Enclosing interface:
- RepositoryPlugin
Options used to steer the put operation
-
Field Summary
FieldsModifier and TypeFieldDescriptionWhen set, the repository must use it as the bsnstatic final String
Provides the context.byte[]
The SHA1 digest of the artifact to put into the repository.static final String
Specify the mime type of the importing stream.When set, the repository must use it as the version -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
BUNDLE
- See Also:
-
LIB
- See Also:
-
digest
public byte[] digestThe 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
-
bsn
When set, the repository must use it as the bsn -
version
When set, the repository must use it as the version -
context
Provides the context. This is an optional parameter but if possible should link to the closest context of the dumped artifact. It will be used for reporting and getting properties/instructions.
-
-
Constructor Details
-
PutOptions
public PutOptions()
-