Enum IModelProcessingListener.Type
- java.lang.Object
-
- java.lang.Enum<IModelProcessingListener.Type>
-
- net.ssehub.easy.basics.modelManagement.IModelProcessingListener.Type
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<IModelProcessingListener.Type>
- Enclosing interface:
- IModelProcessingListener<M extends IModel>
public static enum IModelProcessingListener.Type extends java.lang.Enum<IModelProcessingListener.Type>
Processing types.- Author:
- Holger Eichelberger
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CALCULATINGLonger running calculation on the model contents.DISPOSINGCleaning up a model.INITIALIZINGModel initialization phase in case that this is not already done byLOADING.LOADINGLoading a model, i.e., parsing the model definition and turning it into the internal model implementation.REFRESHINGRefreshing the model contents.
-
Constructor Summary
Constructors Modifier Constructor Description privateType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IModelProcessingListener.TypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static IModelProcessingListener.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LOADING
public static final IModelProcessingListener.Type LOADING
Loading a model, i.e., parsing the model definition and turning it into the internal model implementation.
-
INITIALIZING
public static final IModelProcessingListener.Type INITIALIZING
Model initialization phase in case that this is not already done byLOADING.
-
REFRESHING
public static final IModelProcessingListener.Type REFRESHING
Refreshing the model contents.
-
CALCULATING
public static final IModelProcessingListener.Type CALCULATING
Longer running calculation on the model contents.
-
DISPOSING
public static final IModelProcessingListener.Type DISPOSING
Cleaning up a model.
-
-
Method Detail
-
values
public static IModelProcessingListener.Type[] 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 (IModelProcessingListener.Type c : IModelProcessingListener.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IModelProcessingListener.Type 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
-
-