ClearCreationOptionsRequest.PerTypeConfig


public final class ClearCreationOptionsRequest.PerTypeConfig


Configures how to clear the creation options for a given type.

Summary

Public constructors

PerTypeConfig(
    boolean isDeleteAll,
    @NonNull String type,
    @NonNull List<@NonNull String> registryIds
)

constructs an instance of PerTypeConfig

Public methods

final @NonNull List<@NonNull String>

the IDs of the creation options for the given type to delete, matching one or more RegisterCreationOptionsRequest.id used during creation options registration

final @NonNull String

the type of creation options to clear, matching the RegisterCreationOptionsRequest.type provided provided during the RegistryManager.registerCreationOptions call

final boolean

whether to delete all creation options for the given type

Public constructors

PerTypeConfig

Added in 1.0.0-alpha04
public PerTypeConfig(
    boolean isDeleteAll,
    @NonNull String type,
    @NonNull List<@NonNull String> registryIds
)

constructs an instance of PerTypeConfig

Parameters
boolean isDeleteAll

whether to delete all creation options for the given type

@NonNull String type

the type of creation options to clear, matching the RegisterCreationOptionsRequest.type provided provided during the RegistryManager.registerCreationOptions call

@NonNull List<@NonNull String> registryIds

the IDs of the creation options for the given type to delete, matching one or more RegisterCreationOptionsRequest.id used during creation options registration

Public methods

getRegistryIds

Added in 1.0.0-alpha04
public final @NonNull List<@NonNull StringgetRegistryIds()

the IDs of the creation options for the given type to delete, matching one or more RegisterCreationOptionsRequest.id used during creation options registration

getType

Added in 1.0.0-alpha04
public final @NonNull String getType()

the type of creation options to clear, matching the RegisterCreationOptionsRequest.type provided provided during the RegistryManager.registerCreationOptions call

isDeleteAll

Added in 1.0.0-alpha04
public final boolean isDeleteAll()

whether to delete all creation options for the given type