Enum Class FramingOption
- All Implemented Interfaces:
- Serializable,- Comparable<FramingOption>,- Constable
An enumeration of the supported methods for presenting the authentication challenge UI
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classAJsonSerializerandJsonDeserializerimplementation for serializing and de-serializingFramingOptionobjects to / from JSON using GSON APIs.Nested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum Constants
- 
Method SummaryModifier and TypeMethodDescriptionstatic FramingOptionfromJsonTree(com.inductiveautomation.ignition.common.gson.JsonElement jsonElement) Attempts to parse aFramingOptionfrom aJsonElementstatic Optional<FramingOption>com.inductiveautomation.ignition.common.gson.JsonElementstatic FramingOptionReturns the enum constant of this class with the specified name.static FramingOption[]values()Returns an array containing the constants of this enum class, in the order they are declared.
- 
Enum Constant Details- 
SELFOpen the authentication UI using the current tab / window
- 
NEWOpen the authentication UI in a new tab / window
- 
EMBEDDEDOpen the authentication UI within an embedded iframe
 
- 
- 
Method Details- 
valuesReturns 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
 
- 
valueOfReturns 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
 
- 
parse- Parameters:
- str- a string to parse into a- FramingOption
- Returns:
- an Optionalcontaining theFramingOptionparsed from the provided string, or an empty Optional if the string is null or if the string could not be parsed into one of the FramingOptions
 
- 
fromJsonTreepublic static FramingOption fromJsonTree(com.inductiveautomation.ignition.common.gson.JsonElement jsonElement) Attempts to parse aFramingOptionfrom aJsonElement- Parameters:
- jsonElement- the- JsonElementto parse
- Returns:
- the FramingOptionparsed from the providedJsonElement
- Throws:
- com.inductiveautomation.ignition.common.gson.JsonParseException- if a- FramingOptioncannot be parsed from the provided- JsonElement
- See Also:
 
- 
toJsonTreepublic com.inductiveautomation.ignition.common.gson.JsonElement toJsonTree()- Returns:
- this FramingOptionas aJsonElement
 
 
-