Enum ApplikationKind
- java.lang.Object
-
- java.lang.Enum<ApplikationKind>
-
- de.desy.mst.libs.framework.mstapp.appinf.ApplikationKind
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ApplikationKind>
public enum ApplikationKind extends java.lang.Enum<ApplikationKind>
- Author:
- labudda
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description IApp
getApplicationInformation()
boolean
isValidKind()
static ApplikationKind
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ApplikationKind[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Konsole
public static final ApplikationKind Konsole
-
Server
public static final ApplikationKind Server
-
Jaws
public static final ApplikationKind Jaws
-
Ide
public static final ApplikationKind Ide
-
Automatic
public static final ApplikationKind Automatic
-
-
Method Detail
-
values
public static ApplikationKind[] 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 (ApplikationKind c : ApplikationKind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ApplikationKind 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
-
getApplicationInformation
public IApp getApplicationInformation() throws java.lang.IllegalStateException
- Returns:
- the factory
- Throws:
java.lang.IllegalStateException
- See Also:
IApplikationInterfaceFactory.getApplicationInformation()
-
isValidKind
public boolean isValidKind()
- Returns:
- true on valid for this kind of applikation
- See Also:
IApplikationInterfaceFactory.isValidKind()
-
-