Package io.tesler.core.dto
Enum DrillDownType
- java.lang.Object
-
- java.lang.Enum<DrillDownType>
-
- io.tesler.core.dto.DrillDownType
-
- All Implemented Interfaces:
DrillDownTypeSpecifier
,Serializable
,Comparable<DrillDownType>
public enum DrillDownType extends Enum<DrillDownType> implements DrillDownTypeSpecifier
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EXTERNAL
Transition by an absolute link to an external source.EXTERNAL_NEW
Transition by an absolute link to an external source.INNER
Transition inside the application.RELATIVE
Transition by a relative link while keeping the protocol, host, port.RELATIVE_NEW
Transition by a relative link while keeping the protocol, host, port.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DrillDownType
of(String type)
static DrillDownType
valueOf(String name)
Returns the enum constant of this type with the specified name.static DrillDownType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.-
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Methods inherited from interface io.tesler.core.service.action.DrillDownTypeSpecifier
getValue
-
-
-
-
Enum Constant Detail
-
INNER
public static final DrillDownType INNER
Transition inside the application. Current tab
-
RELATIVE
public static final DrillDownType RELATIVE
Transition by a relative link while keeping the protocol, host, port. Current tab
-
RELATIVE_NEW
public static final DrillDownType RELATIVE_NEW
Transition by a relative link while keeping the protocol, host, port. New tab
-
EXTERNAL
public static final DrillDownType EXTERNAL
Transition by an absolute link to an external source. Current tab.
-
EXTERNAL_NEW
public static final DrillDownType EXTERNAL_NEW
Transition by an absolute link to an external source. New tab.
-
-
Method Detail
-
values
public static DrillDownType[] 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 (DrillDownType c : DrillDownType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DrillDownType 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
-
of
public static DrillDownType of(String type)
-
-