Package org.dashbuilder.shared.model
Enum DashbuilderRuntimeMode
- java.lang.Object
-
- java.lang.Enum<DashbuilderRuntimeMode>
-
- org.dashbuilder.shared.model.DashbuilderRuntimeMode
-
- All Implemented Interfaces:
Serializable,Comparable<DashbuilderRuntimeMode>
public enum DashbuilderRuntimeMode extends Enum<DashbuilderRuntimeMode>
Execution for dashbuilder Runtime
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MULTIPLE_IMPORTUsers can import how many dashboards they want and reopen them later.SINGLE_IMPORTAllow users to import onceSTATICUsed when only the first import is used
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DashbuilderRuntimeModevalueOf(String name)Returns the enum constant of this type with the specified name.static DashbuilderRuntimeMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STATIC
public static final DashbuilderRuntimeMode STATIC
Used when only the first import is used
-
SINGLE_IMPORT
public static final DashbuilderRuntimeMode SINGLE_IMPORT
Allow users to import once
-
MULTIPLE_IMPORT
public static final DashbuilderRuntimeMode MULTIPLE_IMPORT
Users can import how many dashboards they want and reopen them later.
-
-
Method Detail
-
values
public static DashbuilderRuntimeMode[] 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 (DashbuilderRuntimeMode c : DashbuilderRuntimeMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DashbuilderRuntimeMode valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-