public static enum IdService.Type extends Enum<IdService.Type>
Enum Constant and Description |
---|
CLUSTER |
JOB |
PLUGIN_RESOURCE |
TASK |
Modifier and Type | Method and Description |
---|---|
static IdService.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IdService.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IdService.Type JOB
public static final IdService.Type TASK
public static final IdService.Type CLUSTER
public static final IdService.Type PLUGIN_RESOURCE
public static IdService.Type[] values()
for (IdService.Type c : IdService.Type.values()) System.out.println(c);
public static IdService.Type 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 nullCopyright © 2013-2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.