Class AbstractAlgorithmPluginResultStatus
java.lang.Object
com.dna.jopt.cloud.touroptimizer.pluginservice.algorithm.AbstractAlgorithmPluginResultStatus
- Direct Known Subclasses:
AlgorithmPluginResultStatus
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic AlgorithmPluginResultStatus
defaultErrorResult
(Optional<String> statusDescription) static AlgorithmPluginResultStatus
defaultSuccessResult
(Optional<String> statusDescription) static AlgorithmPluginResultStatus
result
(Optional<String> statusDescription, AbstractAlgorithmPluginResultStatus.AlgorithmPluginResultStatusTag tag) status()
-
Constructor Details
-
AbstractAlgorithmPluginResultStatus
public AbstractAlgorithmPluginResultStatus()
-
-
Method Details
-
statusDescription
-
status
@Parameter public abstract AbstractAlgorithmPluginResultStatus.AlgorithmPluginResultStatusTag status() -
defaultErrorResult
-
defaultSuccessResult
-
result
public static AlgorithmPluginResultStatus result(Optional<String> statusDescription, AbstractAlgorithmPluginResultStatus.AlgorithmPluginResultStatusTag tag)
-