public enum PushAttachmentsInline extends java.lang.Enum<PushAttachmentsInline>
Strategy to decide whether to push attachments inline:
Note that all attachments belonging to a pushed revision are either sent via multipart/related,
or all inline in JSON body, as a base64-encoded string.
Further details of this can be found at
RevisionHistoryHelper.shouldInline(List, PushAttachmentsInline, int)
RevisionHistoryHelper
Modifier and Type | Method and Description |
---|---|
static PushAttachmentsInline |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PushAttachmentsInline[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PushAttachmentsInline False
public static final PushAttachmentsInline Small
public static final PushAttachmentsInline True
public static PushAttachmentsInline[] values()
for (PushAttachmentsInline c : PushAttachmentsInline.values()) System.out.println(c);
public static PushAttachmentsInline valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null