public static enum IDownloadableStrategy.ComponentType extends Enum<IDownloadableStrategy.ComponentType>
Enum Constant and Description |
---|
BLOCK_COMPONENT |
BLOCK_INDICATOR |
BLOCK_OWN_STRATEGY |
BLOCK_STRATEGY |
Modifier and Type | Method and Description |
---|---|
int |
getCode() |
static IDownloadableStrategy.ComponentType |
valueOf(int code) |
static IDownloadableStrategy.ComponentType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IDownloadableStrategy.ComponentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IDownloadableStrategy.ComponentType BLOCK_COMPONENT
public static final IDownloadableStrategy.ComponentType BLOCK_INDICATOR
public static final IDownloadableStrategy.ComponentType BLOCK_STRATEGY
public static final IDownloadableStrategy.ComponentType BLOCK_OWN_STRATEGY
public static IDownloadableStrategy.ComponentType[] values()
for (IDownloadableStrategy.ComponentType c : IDownloadableStrategy.ComponentType.values()) System.out.println(c);
public static IDownloadableStrategy.ComponentType 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 static IDownloadableStrategy.ComponentType valueOf(int code)
public int getCode()
Copyright © 2016. All rights reserved.