EvidenceType Class

public final class EvidenceType
extends ExpandableStringEnum<EvidenceType>

Evidence type.

Field Summary

Modifier and Type Field and Description
static final EvidenceType AUTO_COLLECTED_EVIDENCE

The evidence auto collected by App Compliance Automation.

static final EvidenceType DATA

The evidence is data.

static final EvidenceType FILE

The evidence is a file.

Constructor Summary

Constructor Description
EvidenceType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of EvidenceType value.

Method Summary

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

Creates or finds a EvidenceType from its string representation.

static Collection<EvidenceType> values()

Gets known EvidenceType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

AUTO_COLLECTED_EVIDENCE

public static final EvidenceType AUTO_COLLECTED_EVIDENCE

The evidence auto collected by App Compliance Automation.

DATA

public static final EvidenceType DATA

The evidence is data.

FILE

public static final EvidenceType FILE

The evidence is a file.

Constructor Details

EvidenceType

@Deprecated
public EvidenceType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of EvidenceType value.

Method Details

fromString

public static EvidenceType fromString(String name)

Creates or finds a EvidenceType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding EvidenceType.

values

public static Collection<EvidenceType> values()

Gets known EvidenceType values.

Returns:

known EvidenceType values.

Applies to