public static enum SizeOfPolicyConfiguration.MaxDepthExceededBehavior extends Enum<SizeOfPolicyConfiguration.MaxDepthExceededBehavior>
Enum Constant and Description |
---|
ABORT
Abort the SizeOf engine's traversal and immediately return the partially calculated size
|
CONTINUE
Warn about the exceeded max depth but continue traversal of the sized element
|
Modifier and Type | Method and Description |
---|---|
boolean |
isAbort()
Returns true if this behavior is equal to ABORT
|
boolean |
isContinue()
Returns true if this behavior is equal to CONTINUE
|
static SizeOfPolicyConfiguration.MaxDepthExceededBehavior |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SizeOfPolicyConfiguration.MaxDepthExceededBehavior[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SizeOfPolicyConfiguration.MaxDepthExceededBehavior ABORT
public static final SizeOfPolicyConfiguration.MaxDepthExceededBehavior CONTINUE
public static SizeOfPolicyConfiguration.MaxDepthExceededBehavior[] values()
for (SizeOfPolicyConfiguration.MaxDepthExceededBehavior c : SizeOfPolicyConfiguration.MaxDepthExceededBehavior.values()) System.out.println(c);
public static SizeOfPolicyConfiguration.MaxDepthExceededBehavior 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 nullpublic boolean isAbort()
public boolean isContinue()
Copyright © 2003–2016 Terracotta, Inc.. All rights reserved.