public enum ApplicationType extends Enum<ApplicationType>
| Enum Constant and Description |
|---|
app
A long lived application that is not part of a stream
|
processor
An application type that appears in a stream, in middle position.
|
sink
An application type that appears in a stream, in last position.
|
source
An application type that appears in a stream, at first position.
|
task
An application type to execute a short-lived process.
|
| Modifier and Type | Method and Description |
|---|---|
static ApplicationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ApplicationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApplicationType app
public static final ApplicationType source
public static final ApplicationType processor
public static final ApplicationType sink
public static final ApplicationType task
public static ApplicationType[] values()
for (ApplicationType c : ApplicationType.values()) System.out.println(c);
public static ApplicationType 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 © 2021 Pivotal Software, Inc.. All rights reserved.