Enum Class ResourceGuideSchemaHandlingWizardTileState
java.lang.Object
java.lang.Enum<ResourceGuideSchemaHandlingWizardTileState>
com.evolveum.midpoint.gui.impl.page.admin.resource.component.wizard.ResourceGuideSchemaHandlingWizardTileState
- All Implemented Interfaces:
Serializable,Comparable<ResourceGuideSchemaHandlingWizardTileState>,Constable
public enum ResourceGuideSchemaHandlingWizardTileState
extends Enum<ResourceGuideSchemaHandlingWizardTileState>
Represents UI state of tiles in the Schema Handling wizard.
Determines recommendation and lock status based on preview
visit state and resource configuration.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordNested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescription@NotNull org.apache.wicket.model.IModel<Badge>badgeModel(@NotNull SchemaHandlingWizardChoicePanel panel) static @NotNull ResourceGuideSchemaHandlingWizardTileStatecomputeState(SchemaHandlingWizardChoicePanel.PreviewTileType tile, @NotNull ResourceType resource, @NotNull ResourceWizardStorage storage) booleanisLocked()Returns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NORMAL
-
RECOMMENDED
-
LOCKED
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
isLocked
public boolean isLocked() -
badgeModel
@NotNull public @NotNull org.apache.wicket.model.IModel<Badge> badgeModel(@NotNull @NotNull SchemaHandlingWizardChoicePanel panel) -
computeState
@NotNull public static @NotNull ResourceGuideSchemaHandlingWizardTileState computeState(@Nullable SchemaHandlingWizardChoicePanel.PreviewTileType tile, @NotNull @NotNull ResourceType resource, @NotNull @NotNull ResourceWizardStorage storage)
-