Source Class

public final class Source
extends ExpandableStringEnum<Source>

The platform where the assessed resource resides.

Field Summary

Modifier and Type Field and Description
static final Source AZURE

Static value Azure for Source.

static final Source ON_PREMISE

Static value OnPremise for Source.

static final Source ON_PREMISE_SQL

Static value OnPremiseSql for Source.

Constructor Summary

Constructor Description
Source()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of Source value.

Method Summary

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

Creates or finds a Source from its string representation.

static Collection<Source> values()

Gets known Source values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

AZURE

public static final Source AZURE

Static value Azure for Source.

ON_PREMISE

public static final Source ON_PREMISE

Static value OnPremise for Source.

ON_PREMISE_SQL

public static final Source ON_PREMISE_SQL

Static value OnPremiseSql for Source.

Constructor Details

Source

@Deprecated
public Source()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of Source value.

Method Details

fromString

public static Source fromString(String name)

Creates or finds a Source from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding Source.

values

public static Collection values()

Gets known Source values.

Returns:

known Source values.

Applies to