Enum Class PerformanceSection.PerformanceSectionFlags
java.lang.Object
java.lang.Enum<PerformanceSection.PerformanceSectionFlags>
org.tquadrat.foundation.perflog.PerformanceSection.PerformanceSectionFlags
- All Implemented Interfaces:
Serializable, Comparable<PerformanceSection.PerformanceSectionFlags>, Constable
- Enclosing class:
PerformanceSection
@ClassVersion(sourceVersion="$Id: PerformanceSection.java 1258 2026-06-04 18:33:06Z tquadrat $")
@API(status=STABLE,
since="0.25.0")
public static enum PerformanceSection.PerformanceSectionFlags
extends Enum<PerformanceSection.PerformanceSectionFlags>
The ignore status for a performance section.
- Author:
- Thomas Thrien (thomas.thrien@tquadrat.org)
- Version:
- $Id: PerformanceSection.java 1258 2026-06-04 18:33:06Z tquadrat $
- Since:
- 0.25.0
- UML Diagram
-
UML Diagram for "org.tquadrat.foundation.perflog.PerformanceSection.PerformanceSectionFlags"
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe performance section will be ignored.Indicates that a report should be sent also for aborted performance trackers.Indicates that reports should be sent only when the threshold was exceeded. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
IGNORED
The performance section will be ignored. -
SEND_REPORT_FOR_ABORT
Indicates that a report should be sent also for aborted performance trackers. -
SEND_REPORT_ONLY_FOR_EXCEEDED_THRESHOLD
public static final PerformanceSection.PerformanceSectionFlags SEND_REPORT_ONLY_FOR_EXCEEDED_THRESHOLDIndicates that reports should be sent only when the threshold was exceeded.
-
-
Constructor Details
-
PerformanceSectionFlags
private PerformanceSectionFlags()
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
