Enum DurationType
- java.lang.Object
-
- java.lang.Enum<DurationType>
-
- org.processmining.plugins.inductiveVisualMiner.performance.DurationType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<DurationType>
public enum DurationType extends java.lang.Enum<DurationType>
This enum takes the heavy lifting out of time computations by providing methods to extract durations from instances.- Author:
- sander
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract booleanapplies(IvMMove traceFirstTimestamp, org.processmining.plugins.InductiveMiner.Sextuple<java.lang.Integer,java.lang.String,IvMMove,IvMMove,IvMMove,IvMMove> instance, IvMMove traceLastTimestamp)abstract longgetDistance(IvMMove traceFirstTimestamp, org.processmining.plugins.InductiveMiner.Sextuple<java.lang.Integer,java.lang.String,IvMMove,IvMMove,IvMMove,IvMMove> instance, IvMMove traceLastTimestamp)abstract java.lang.StringtoString()static DurationTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static DurationType[]values()Returns an array containing the constants of this enum type, in the order they are declared.static DurationType[]valuesAt(PerformanceLevel.Level level)
-
-
-
Enum Constant Detail
-
elapsed
public static final DurationType elapsed
-
queueing
public static final DurationType queueing
-
waiting
public static final DurationType waiting
-
service
public static final DurationType service
-
sojourn
public static final DurationType sojourn
Sojourn time on the process is confusing.
-
remaining
public static final DurationType remaining
-
traceDuration
public static final DurationType traceDuration
-
-
Method Detail
-
values
public static DurationType[] 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 (DurationType c : DurationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DurationType 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 namejava.lang.NullPointerException- if the argument is null
-
toString
public abstract java.lang.String toString()
- Overrides:
toStringin classjava.lang.Enum<DurationType>
-
applies
public abstract boolean applies(IvMMove traceFirstTimestamp, org.processmining.plugins.InductiveMiner.Sextuple<java.lang.Integer,java.lang.String,IvMMove,IvMMove,IvMMove,IvMMove> instance, IvMMove traceLastTimestamp)
-
getDistance
public abstract long getDistance(IvMMove traceFirstTimestamp, org.processmining.plugins.InductiveMiner.Sextuple<java.lang.Integer,java.lang.String,IvMMove,IvMMove,IvMMove,IvMMove> instance, IvMMove traceLastTimestamp)
-
valuesAt
public static DurationType[] valuesAt(PerformanceLevel.Level level)
-
-