Class ExecuteRequest
java.lang.Object
es.urjc.etsii.grafo.autoconfig.controller.dto.ExecuteRequest
DTO for requesting an execution for a given instance and algorithm.
Currently, used for IRACE integration via the ExecutionController.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ExecuteRequest
Create a new- Parameters:
key
- integration key, used to validate requests and reject unauthorized ones.config
- execution configuration
-
-
Method Details
-
getKey
Get integration key, used to validate requests and reject unauthorized ones.- Returns:
- integration key
-
getConfig
Get serialized run configuration- Returns:
- run configuration serialized as string
-
isValid
public boolean isValid()Check that the DTO is valid- Returns:
- boolean if valid, false otherwise
-
toString
-