FoundryModelWarningCode Class

public final class FoundryModelWarningCode
extends ExpandableStringEnum<FoundryModelWarningCode>

Warning code for model artifacts.

Field Summary

Modifier and Type Field and Description
static final FoundryModelWarningCode RUNTIME_DEPENDENT_ARTIFACT

Runtime dependent artifact warning.

static final FoundryModelWarningCode UNCLASSIFIED_ARTIFACT

Unclassified artifact warning.

Constructor Summary

Constructor Description
FoundryModelWarningCode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of FoundryModelWarningCode value.

Method Summary

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

Creates or finds a FoundryModelWarningCode from its string representation.

static Collection<FoundryModelWarningCode> values()

Gets known FoundryModelWarningCode values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

RUNTIME_DEPENDENT_ARTIFACT

public static final FoundryModelWarningCode RUNTIME_DEPENDENT_ARTIFACT

Runtime dependent artifact warning.

UNCLASSIFIED_ARTIFACT

public static final FoundryModelWarningCode UNCLASSIFIED_ARTIFACT

Unclassified artifact warning.

Constructor Details

FoundryModelWarningCode

@Deprecated
public FoundryModelWarningCode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of FoundryModelWarningCode value.

Method Details

fromString

public static FoundryModelWarningCode fromString(String name)

Creates or finds a FoundryModelWarningCode from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding FoundryModelWarningCode.

values

public static Collection<FoundryModelWarningCode> values()

Gets known FoundryModelWarningCode values.

Returns:

known FoundryModelWarningCode values.

Applies to