public enum BulkContentDisposition extends Enum<BulkContentDisposition>
BulkContentCallback.accept(com.atlassian.bitbucket.scm.bulk.BulkFile)
to signal what to do next to the caller.Enum Constant and Description |
---|
DONE
Skip the current file, and do not offer any further files.
|
SKIP
Skip the current file, but continue offering subsequent files.
|
STREAM
Stream the current file, allowing its bytes to be read.
|
Modifier and Type | Method and Description |
---|---|
static BulkContentDisposition |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BulkContentDisposition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BulkContentDisposition DONE
public static final BulkContentDisposition STREAM
public static final BulkContentDisposition SKIP
BulkFile
.public static BulkContentDisposition[] values()
for (BulkContentDisposition c : BulkContentDisposition.values()) System.out.println(c);
public static BulkContentDisposition valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2019 Atlassian. All rights reserved.