Enum FramingOption
- java.lang.Object
- 
- java.lang.Enum<FramingOption>
- 
- com.inductiveautomation.perspective.common.auth.FramingOption
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- java.lang.Comparable<FramingOption>
 
 public enum FramingOption extends java.lang.Enum<FramingOption> An enumeration of the supported methods for presenting the authentication challenge UI
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classFramingOption.GsonAdapterAJsonSerializerandJsonDeserializerimplementation for serializing and de-serializingFramingOptionobjects to / from JSON using GSON APIs.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FramingOptionfromJsonTree(com.inductiveautomation.ignition.common.gson.JsonElement jsonElement)Attempts to parse aFramingOptionfrom aJsonElementstatic java.util.Optional<FramingOption>parse(java.lang.String str)com.inductiveautomation.ignition.common.gson.JsonElementtoJsonTree()static FramingOptionvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static FramingOption[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
SELFpublic static final FramingOption SELF Open the authentication UI using the current tab / window
 - 
NEWpublic static final FramingOption NEW Open the authentication UI in a new tab / window
 - 
EMBEDDEDpublic static final FramingOption EMBEDDED Open the authentication UI within an embedded iframe
 
- 
 - 
Method Detail- 
valuespublic static FramingOption[] values() Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (FramingOption c : FramingOption.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static FramingOption valueOf(java.lang.String name) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
- java.lang.IllegalArgumentException- if this enum type has no constant with the specified name
- java.lang.NullPointerException- if the argument is null
 
 - 
parsepublic static java.util.Optional<FramingOption> parse(@Nullable java.lang.String str) - 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:
- parse(String)
 
 - 
toJsonTreepublic com.inductiveautomation.ignition.common.gson.JsonElement toJsonTree() - Returns:
- this FramingOptionas aJsonElement
 
 
- 
 
-