Top Description Fields Constructors Methods
groovy.transform

public final Enum AutoCloneStyle

extends Enum<AutoCloneStyle>
Class Inheritance

Intended style to use for cloning when using the @AutoClone annotation.
Since
1.8.0
See Also
groovy.transform.AutoClone

Field Summary

Modifier and TypeField and Description
public static final AutoCloneStyle
CLONE

Uses only cloning.

public static final AutoCloneStyle
COPY_CONSTRUCTOR

Uses the copy constructor pattern.

public static final AutoCloneStyle
SERIALIZATION

Uses serialization to clone.

public static final AutoCloneStyle
SIMPLE

Uses the no-arg constructor followed by property/field copying/cloning.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static AutoCloneStyle
public static AutoCloneStyle[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

CLONEback to summary
public static final AutoCloneStyle CLONE

Uses only cloning.

COPY_CONSTRUCTORback to summary
public static final AutoCloneStyle COPY_CONSTRUCTOR

Uses the copy constructor pattern.

SERIALIZATIONback to summary
public static final AutoCloneStyle SERIALIZATION

Uses serialization to clone.

SIMPLEback to summary
public static final AutoCloneStyle SIMPLE

Uses the no-arg constructor followed by property/field copying/cloning.

Constructor Detail

AutoCloneStyleback to summary
private AutoCloneStyle()

Method Detail

valueOfback to summary
public static AutoCloneStyle valueOf(String name)
valuesback to summary
public static AutoCloneStyle[] values()