@Immutable public enum WallPhotoStatus extends Enum<WallPhotoStatus>
| Enum Constant and Description |
|---|
POSTED
Photo has been posted to the group page wall
using (wall.postFromDir() VK API method).
|
UPLOADED
Photo has been uploaded (and saved using photo.save() VK API method).
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static WallPhotoStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WallPhotoStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WallPhotoStatus UPLOADED
public static final WallPhotoStatus POSTED
public static WallPhotoStatus[] values()
for (WallPhotoStatus c : WallPhotoStatus.values()) System.out.println(c);
public static WallPhotoStatus 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 nullpublic String toString()
toString in class Enum<WallPhotoStatus>Copyright © 2017–2018 jcabi.com. All rights reserved.