public final enum

BulkContentDisposition

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.atlassian.bitbucket.scm.bulk.BulkContentDisposition

Class Overview

Returned by accept(BulkFile) to signal what to do next to the caller.

Summary

Enum Values
BulkContentDisposition  DONE  Skip the current file, and do not offer any further files. 
BulkContentDisposition  SKIP  Skip the current file, but continue offering subsequent files. 
BulkContentDisposition  STREAM  Stream the current file, allowing its bytes to be read. 
Public Methods
static BulkContentDisposition valueOf(String name)
final static BulkContentDisposition[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final BulkContentDisposition DONE

Skip the current file, and do not offer any further files. This can be used to terminate streaming early.

public static final BulkContentDisposition SKIP

Skip the current file, but continue offering subsequent files. This can be used to implement filtering, rejecting some files but accepting others based on the BulkFile.

public static final BulkContentDisposition STREAM

Stream the current file, allowing its bytes to be read. For deleted files, this is equivalent to SKIP.

Public Methods

public static BulkContentDisposition valueOf (String name)

public static final BulkContentDisposition[] values ()