Share via


ImportMode Class

public final class ImportMode
extends ExpandableStringEnum<ImportMode>

When Force, any existing target tags will be overwritten. When NoForce, any existing target tags will fail the operation before any copying begins.

Field Summary

Modifier and Type Field and Description
static final ImportMode FORCE

Static value Force for ImportMode.

static final ImportMode NO_FORCE

Static value NoForce for ImportMode.

Constructor Summary

Constructor Description
ImportMode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ImportMode value.

Method Summary

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

Creates or finds a ImportMode from its string representation.

static Collection<ImportMode> values()

Gets known ImportMode values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

FORCE

public static final ImportMode FORCE

Static value Force for ImportMode.

NO_FORCE

public static final ImportMode NO_FORCE

Static value NoForce for ImportMode.

Constructor Details

ImportMode

@Deprecated
public ImportMode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ImportMode value.

Method Details

fromString

public static ImportMode fromString(String name)

Creates or finds a ImportMode from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ImportMode.

values

public static Collection<ImportMode> values()

Gets known ImportMode values.

Returns:

known ImportMode values.

Applies to