public static enum DoFnTester.CloningBehavior extends java.lang.Enum<DoFnTester.CloningBehavior>
DoFnTester should clone the DoFn under test and how it should manage
 the lifecycle of the DoFn.| Enum Constant and Description | 
|---|
CLONE_ONCE
 | 
CLONE_PER_BUNDLE
Clone the  
DoFn and call DoFn.Setup every time a bundle starts; call DoFn.Teardown every time a bundle finishes. | 
DO_NOT_CLONE
 | 
| Modifier and Type | Method and Description | 
|---|---|
static DoFnTester.CloningBehavior | 
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. 
 | 
static DoFnTester.CloningBehavior[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final DoFnTester.CloningBehavior CLONE_PER_BUNDLE
DoFn and call DoFn.Setup every time a bundle starts; call DoFn.Teardown every time a bundle finishes.public static final DoFnTester.CloningBehavior CLONE_ONCE
public static final DoFnTester.CloningBehavior DO_NOT_CLONE
public static DoFnTester.CloningBehavior[] values()
for (DoFnTester.CloningBehavior c : DoFnTester.CloningBehavior.values()) System.out.println(c);
public static DoFnTester.CloningBehavior valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null