Partager via


FtpsState Class

public final class FtpsState
extends ExpandableStringEnum<FtpsState>

State of FTP / FTPS service.

Field Summary

Modifier and Type Field and Description
static final FtpsState ALL_ALLOWED

Static value AllAllowed for FtpsState.

static final FtpsState DISABLED

Static value Disabled for FtpsState.

static final FtpsState FTPS_ONLY

Static value FtpsOnly for FtpsState.

Constructor Summary

Constructor Description
FtpsState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of FtpsState value.

Method Summary

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

Creates or finds a FtpsState from its string representation.

static Collection<FtpsState> values()

Gets known FtpsState values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ALL_ALLOWED

public static final FtpsState ALL_ALLOWED

Static value AllAllowed for FtpsState.

DISABLED

public static final FtpsState DISABLED

Static value Disabled for FtpsState.

FTPS_ONLY

public static final FtpsState FTPS_ONLY

Static value FtpsOnly for FtpsState.

Constructor Details

FtpsState

@Deprecated
public FtpsState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of FtpsState value.

Method Details

fromString

public static FtpsState fromString(String name)

Creates or finds a FtpsState from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding FtpsState.

values

public static Collection values()

Gets known FtpsState values.

Returns:

known FtpsState values.

Applies to