Enum AbaReasonerCalleeFactory.Command
java.lang.Object
java.lang.Enum<AbaReasonerCalleeFactory.Command>
org.tweetyproject.web.services.aba.AbaReasonerCalleeFactory.Command
- All Implemented Interfaces:
Serializable
,Comparable<AbaReasonerCalleeFactory.Command>
,Constable
- Enclosing class:
AbaReasonerCalleeFactory
Enumeration of supported commands for ABA reasoner.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetCommand
(String id) Gets the Command enum based on the provided ID.Returns the enum constant of this type with the specified name.static AbaReasonerCalleeFactory.Command[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
GET_MODELS
get models -
QUERY
query -
GET_MODEL
get model
-
-
Field Details
-
id
Identifier for the command -
label
Label for the command
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getCommand
Gets the Command enum based on the provided ID.- Parameters:
id
- ID of the command- Returns:
- The corresponding Command enum, or null if not found
-