Package com.evolveum.midpoint.gui.impl.page.admin.resource.component.wizard.schemaHandling.objectType
Enum Class ResourceGuideObjectTypeTileState
java.lang.Object
java.lang.Enum<ResourceGuideObjectTypeTileState>
com.evolveum.midpoint.gui.impl.page.admin.resource.component.wizard.schemaHandling.objectType.ResourceGuideObjectTypeTileState
- All Implemented Interfaces:
Serializable,Comparable<ResourceGuideObjectTypeTileState>,Constable
Represents UI state of tiles in the Resource Object Type wizard.
Determines badge, recommendation, and lock status based on
current object type configuration.
-
Nested Class Summary
Nested ClassesNested 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 ResourceObjectTypeWizardChoicePanel panel) static @NotNull ResourceGuideObjectTypeTileStatecomputeState(ResourceObjectTypeWizardChoicePanel.ResourceObjectTypePreviewTileType tile, ResourceType resource, @NotNull org.apache.wicket.model.IModel<PrismContainerValueWrapper<ResourceObjectTypeDefinitionType>> valueModel, ResourceObjectTypeWizardChoicePanel components) static @Nullable StringgetTooltipKey(ResourceObjectTypeWizardChoicePanel.ResourceObjectTypePreviewTileType tile, @NotNull ResourceType resource, @NotNull ResourceObjectTypeDefinitionType real) booleanisLocked()Returns the enum constant of this class with the specified name.static ResourceGuideObjectTypeTileState[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NORMAL
-
CONFIGURED
-
RECOMMENDED
-
TEMPORARY_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
-
badgeModel
@NotNull public @NotNull org.apache.wicket.model.IModel<Badge> badgeModel(@NotNull @NotNull ResourceObjectTypeWizardChoicePanel panel) -
isLocked
public boolean isLocked() -
computeState
@NotNull public static @NotNull ResourceGuideObjectTypeTileState computeState(@NotNull ResourceObjectTypeWizardChoicePanel.ResourceObjectTypePreviewTileType tile, ResourceType resource, @NotNull @NotNull org.apache.wicket.model.IModel<PrismContainerValueWrapper<ResourceObjectTypeDefinitionType>> valueModel, ResourceObjectTypeWizardChoicePanel components) -
getTooltipKey
@Nullable public static @Nullable String getTooltipKey(@NotNull ResourceObjectTypeWizardChoicePanel.ResourceObjectTypePreviewTileType tile, @NotNull @NotNull ResourceType resource, @NotNull @NotNull ResourceObjectTypeDefinitionType real)
-