public enum ReplicationGranularity extends Enum<ReplicationGranularity>
Modifier and Type | Method and Description |
---|---|
static ReplicationGranularity |
fromString(String granularity) |
static ReplicationGranularity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReplicationGranularity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReplicationGranularity SESSION
public static final ReplicationGranularity ATTRIBUTE
public static ReplicationGranularity[] values()
for (ReplicationGranularity c : ReplicationGranularity.values()) System.out.println(c);
public static ReplicationGranularity 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 static ReplicationGranularity fromString(String granularity)
Copyright © 2014 JBoss by Red Hat. All rights reserved.