SourceType Class

public final class SourceType
extends ExpandableStringEnum<SourceType>

The source type that will trigger the notification.

Field Summary

Modifier and Type Field and Description
static final SourceType ALERT

Alert.

static final SourceType ATTACK_PATH

AttackPath.

Constructor Summary

Constructor Description
SourceType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SourceType value.

Method Summary

Modifier and Type Method and Description
static SourceType fromString(String name)

Creates or finds a SourceType from its string representation.

static Collection<SourceType> values()

Gets known SourceType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ALERT

public static final SourceType ALERT

Alert.

ATTACK_PATH

public static final SourceType ATTACK_PATH

AttackPath.

Constructor Details

SourceType

@Deprecated
public SourceType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SourceType value.

Method Details

fromString

public static SourceType fromString(String name)

Creates or finds a SourceType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding SourceType.

values

public static Collection<SourceType> values()

Gets known SourceType values.

Returns:

known SourceType values.

Applies to