RunProfile Class

public final class RunProfile
extends ExpandableStringEnum<RunProfile>

Specifies the execution profile for the extension.

Field Summary

Modifier and Type Field and Description
static final RunProfile HYBRID

Hybrid execution profile.

static final RunProfile LONG_RUNNING

Long running execution profile.

static final RunProfile OTHER

Other execution profile.

static final RunProfile RUN_ONCE

Run once execution profile.

Constructor Summary

Constructor Description
RunProfile()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of RunProfile value.

Method Summary

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

Creates or finds a RunProfile from its string representation.

static Collection<RunProfile> values()

Gets known RunProfile values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

HYBRID

public static final RunProfile HYBRID

Hybrid execution profile.

LONG_RUNNING

public static final RunProfile LONG_RUNNING

Long running execution profile.

OTHER

public static final RunProfile OTHER

Other execution profile.

RUN_ONCE

public static final RunProfile RUN_ONCE

Run once execution profile.

Constructor Details

RunProfile

@Deprecated
public RunProfile()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of RunProfile value.

Method Details

fromString

public static RunProfile fromString(String name)

Creates or finds a RunProfile from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding RunProfile.

values

public static Collection<RunProfile> values()

Gets known RunProfile values.

Returns:

known RunProfile values.

Applies to