Interface PatchBuilderContentInputStream
-
public interface PatchBuilderContentInputStream
UPSOURCE SPECIFIC Patch Building may provide metadata. This interface may be implemented by a plugin in order to pass metadata to the host. A stream is assumed to be lazy, so it does NO extra work to initialize, unless firstInputStream.read()
method called.- Since:
- 10.0
- See Also:
PatchBuilder.changeOrCreateBinaryFile(File, String, InputStream, long)
,PatchBuilder.changeOrCreateTextFile(File, String, InputStream, long, byte[])
,PatchBuilder.createBinaryFile(File, String, InputStream, long)
,PatchBuilder.createTextFile(File, String, InputStream, long, byte[])
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getContentHash()
UPSOURCE SPECIFIC Applications may benefit from any possible content hash to avoid unnecessary data delivery.
-
-
-
Method Detail
-
getContentHash
@Nullable java.lang.String getContentHash()
UPSOURCE SPECIFIC Applications may benefit from any possible content hash to avoid unnecessary data delivery. Content hash MUST be repository unique, but it's allowed to have several keys for same content.- Returns:
- repository unique content hash or null
- Since:
- 10.0
-
-