public enum SourceType extends Enum<SourceType>
Source types. These are declared
in a preferred order of iteration, with potentially longer running source
types coming first.| Enum Constant and Description |
|---|
AREA
Area source type.
|
CLUSTER
Cluster source type.
|
FAULT
Finite fault source type.
|
GRID
Gridded (background) seismicity source type.
|
INTERFACE
Subduction interface source type.
|
SLAB
Subduction intraslab source type.
|
SYSTEM
Fault system source type.
|
| Modifier and Type | Method and Description |
|---|---|
static SourceType |
fromString(String s)
Converts supplied
String to equivalent SourceType. |
String |
toString()
Returns a
CaseFormat#UPPER_CAMEL String representation of
this SourceType. |
static SourceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SourceType SYSTEM
public static final SourceType AREA
public static final SourceType GRID
public static final SourceType SLAB
public static final SourceType INTERFACE
public static final SourceType FAULT
public static final SourceType CLUSTER
public static SourceType[] values()
for (SourceType c : SourceType.values()) System.out.println(c);
public static SourceType 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 String toString()
CaseFormat#UPPER_CAMEL String representation of
this SourceType.toString in class Enum<SourceType>public static SourceType fromString(String s)
String to equivalent SourceType. Method
expects a String with CaseFormat#UPPER_CAMELs - String to convertSourceTypeIllegalArgumentException - if supplied String is incorrectly
formatted or no matching SourceType existsCaseFormat