public enum MediaJobType extends Enum<MediaJobType>
| Enum Constant and Description |
|---|
Abuse |
Ads |
Illegal |
Politics |
Porn |
Teenager |
Terrorism |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
int |
getType() |
void |
setName(String name) |
void |
setType(int type) |
static MediaJobType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MediaJobType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MediaJobType Porn
public static final MediaJobType Terrorism
public static final MediaJobType Politics
public static final MediaJobType Ads
public static final MediaJobType Illegal
public static final MediaJobType Abuse
public static final MediaJobType Teenager
public static MediaJobType[] values()
for (MediaJobType c : MediaJobType.values()) System.out.println(c);
public static MediaJobType 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 int getType()
public void setType(int type)
public String getName()
public void setName(String name)
Copyright © 2023. All rights reserved.