Enum Class PrototypeEnum

java.lang.Object
java.lang.Enum<PrototypeEnum>
com.polarion.alm.shared.api.model.PrototypeEnum
All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable, Serializable, Comparable<PrototypeEnum>, Constable

public enum PrototypeEnum extends Enum<PrototypeEnum> implements com.google.gwt.user.client.rpc.IsSerializable, Serializable
Since:
3.9.0
  • Enum Constant Details

  • Method Details

    • values

      public static PrototypeEnum[] 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

      public static PrototypeEnum valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • select

      @NotNull public abstract <T> T select(@NotNull PrototypeSelector<T> selector)
    • select

      @NotNull public abstract <T> T select(@NotNull PrototypeSelectorPlural<T> selector)
    • label

      @NotNull public String label(@NotNull SharedLocalization localization)
    • render

      @NotNull public Renderer render(@NotNull SharedContext context)
    • oldApiPrototype

      @Nullable public String oldApiPrototype()
      Annotated as Nullable because some prototypes here will not be contained in old API.