AvailabilityType Class

public final class AvailabilityType
extends ExpandableStringEnum<AvailabilityType>

Indicates how the update content is made available for download. This determines whether the update is sourced locally, from an online repository, or requires user notification.

Field Summary

Modifier and Type Field and Description
static final AvailabilityType LOCAL

The update content is available locally within the environment.

static final AvailabilityType NOTIFY

The system will notify the user when update content becomes available.

static final AvailabilityType ONLINE

The update content is available from an online source.

Constructor Summary

Constructor Description
AvailabilityType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of AvailabilityType value.

Method Summary

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

Creates or finds a AvailabilityType from its string representation.

static Collection<AvailabilityType> values()

Gets known AvailabilityType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

LOCAL

public static final AvailabilityType LOCAL

The update content is available locally within the environment.

NOTIFY

public static final AvailabilityType NOTIFY

The system will notify the user when update content becomes available.

ONLINE

public static final AvailabilityType ONLINE

The update content is available from an online source.

Constructor Details

AvailabilityType

@Deprecated
public AvailabilityType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of AvailabilityType value.

Method Details

fromString

public static AvailabilityType fromString(String name)

Creates or finds a AvailabilityType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding AvailabilityType.

values

public static Collection<AvailabilityType> values()

Gets known AvailabilityType values.

Returns:

known AvailabilityType values.

Applies to