Package com.atlassian.bitbucket.scm.bulk
Enum Class BulkContentDisposition
- All Implemented Interfaces:
- Serializable,- Comparable<BulkContentDisposition>,- Constable
Returned by 
BulkContentCallback.accept(com.atlassian.bitbucket.scm.bulk.BulkFile) to signal what to do next to the caller.- Since:
- 4.2
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum Constants
- 
Method SummaryModifier and TypeMethodDescriptionstatic BulkContentDispositionReturns the enum constant of this class with the specified name.static BulkContentDisposition[]values()Returns an array containing the constants of this enum class, in the order they are declared.
- 
Enum Constant Details- 
DONESkip the current file, and do not offer any further files. This can be used to terminate streaming early.
- 
STREAMStream the current file, allowing its bytes to be read. For deleted files, this is equivalent to SKIP.
- 
SKIPSkip the current file, but continue offering subsequent files. This can be used to implement filtering, rejecting some files but accepting others based on theBulkFile.
 
- 
- 
Method Details- 
valuesReturns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
 
- 
valueOfReturns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum class has no constant with the specified name
- NullPointerException- if the argument is null
 
 
-