Enum Class PerformanceTracker.TrackerStatus
java.lang.Object
java.lang.Enum<PerformanceTracker.TrackerStatus>
org.tquadrat.foundation.perflog.PerformanceTracker.TrackerStatus
- All Implemented Interfaces:
Serializable, Comparable<PerformanceTracker.TrackerStatus>, Constable
- Enclosing interface:
PerformanceTracker
@ClassVersion(sourceVersion="$Id: PerformanceTracker.java 1258 2026-06-04 18:33:06Z tquadrat $")
@API(status=STABLE,
since="0.25.0")
public static enum PerformanceTracker.TrackerStatus
extends Enum<PerformanceTracker.TrackerStatus>
The status of a
PerformanceTracker.
- Author:
- Thomas Thrien (thomas.thrien@tquadrat.org)
- Version:
- $Id: PerformanceTracker.java 1258 2026-06-04 18:33:06Z tquadrat $
- Since:
- 0.25.0
- UML Diagram
-
UML Diagram for "org.tquadrat.foundation.perflog.PerformanceTracker.TrackerStatus"
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe tracker was aborted after it was started.The tracker was not started yet.The tracker was started, but not yet stopped or aborted.The tracker was stopped after it was started. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static PerformanceTracker.TrackerStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
STATUS_READY
The tracker was not started yet. -
STATUS_STARTED
The tracker was started, but not yet stopped or aborted. -
STATUS_STOPPED
The tracker was stopped after it was started. -
STATUS_ABORTED
The tracker was aborted after it was started.
-
-
Constructor Details
-
TrackerStatus
private TrackerStatus()
-
-
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
-
