public enum MovieMethod extends Enum<MovieMethod> implements AppendToResponseMethod
| Enum Constant and Description |
|---|
ALTERNATIVE_TITLES |
CHANGES |
CREDITS |
IMAGES |
KEYWORDS |
LISTS |
RELEASES |
REVIEWS |
SIMILAR |
TRANSLATIONS |
VIDEOS |
| Modifier and Type | Method and Description |
|---|---|
static MovieMethod |
fromString(String method)
Convert a string into an Enum type
|
String |
getPropertyString()
Get the string to use in the URL
|
static MovieMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MovieMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MovieMethod ALTERNATIVE_TITLES
public static final MovieMethod CHANGES
public static final MovieMethod CREDITS
public static final MovieMethod IMAGES
public static final MovieMethod KEYWORDS
public static final MovieMethod LISTS
public static final MovieMethod RELEASES
public static final MovieMethod REVIEWS
public static final MovieMethod SIMILAR
public static final MovieMethod TRANSLATIONS
public static final MovieMethod VIDEOS
public static MovieMethod[] values()
for (MovieMethod c : MovieMethod.values()) System.out.println(c);
public static MovieMethod 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 getPropertyString()
getPropertyString in interface AppendToResponseMethodpublic static MovieMethod fromString(String method)
method - IllegalArgumentException - If type is not recognisedCopyright © 2012–2017. All rights reserved.