public static enum WorkflowToken.Scope extends Enum<WorkflowToken.Scope>
WorkflowToken
can be added by user, using the WorkflowToken.put(java.lang.String, java.lang.String)
method. These keys are added under the USER
scope. CDAP also adds some keys to
the WorkflowToken
. for e.g. MapReduce counters. The keys added by CDAP are added under
the SYSTEM
scope.Modifier and Type | Method and Description |
---|---|
static WorkflowToken.Scope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WorkflowToken.Scope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WorkflowToken.Scope USER
public static final WorkflowToken.Scope SYSTEM
public static WorkflowToken.Scope[] values()
for (WorkflowToken.Scope c : WorkflowToken.Scope.values()) System.out.println(c);
public static WorkflowToken.Scope 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 © 2023 Cask Data, Inc. Licensed under the Apache License, Version 2.0.