Package aQute.bnd.service
Class RepositoryPlugin.PutOptions
- java.lang.Object
-
- aQute.bnd.service.RepositoryPlugin.PutOptions
-
- Enclosing interface:
- RepositoryPlugin
public static class RepositoryPlugin.PutOptions extends java.lang.ObjectOptions used to steer the put operation
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.StringbsnWhen set, the repository must use it as the bsnstatic java.lang.StringBUNDLEProcessorcontextProvides the context.byte[]digestThe SHA1 digest of the artifact to put into the repository.static java.lang.StringLIBjava.lang.StringtypeSpecify the mime type of the importing stream.VersionversionWhen set, the repository must use it as the version
-
Constructor Summary
Constructors Constructor Description PutOptions()
-
-
-
Field Detail
-
BUNDLE
public static final java.lang.String BUNDLE
- See Also:
- Constant Field Values
-
LIB
public static final java.lang.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 java.lang.String type
-
bsn
public java.lang.String bsn
When set, the repository must use it as the bsn
-
version
public Version version
When set, the repository must use it as the version
-
context
public Processor 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.
-
-