public static enum Service.Type extends Enum<Service.Type>
Service.ServiceFactory
capable of providing service instances for the supported types.Enum Constant and Description |
---|
Barrier
Mid-traversal with all-at-once input.
|
Start
Start the traversal with no upstream input.
|
Streaming
Mid-traversal with streaming input.
|
Modifier and Type | Method and Description |
---|---|
static Service.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Service.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Service.Type Start
public static final Service.Type Streaming
public static final Service.Type Barrier
public static Service.Type[] values()
for (Service.Type c : Service.Type.values()) System.out.println(c);
public static Service.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–2022 Apache Software Foundation. All rights reserved.