Class GenerationResult
java.lang.Object
com.sap.cloud.sdk.datamodel.openapi.generator.model.GenerationResult
Stores the result of the code generation performed by
DataModelGenerator
.-
Constructor Summary
ConstructorDescriptionGenerationResult
(List<File> generatedFiles, String serviceName) Creates aGenerationResult
based on a given list of generated files. -
Method Summary
Modifier and TypeMethodDescriptionio.vavr.control.Option<String>
Get the service name, if present.
-
Constructor Details
-
GenerationResult
Creates aGenerationResult
based on a given list of generated files.- Parameters:
generatedFiles
- The files resulting from the code generationserviceName
- The name of the service, if present.
-
-
Method Details
-
getServiceName
Get the service name, if present.- Returns:
- An
Option
containing the service name, if present.
-
getGeneratedFiles
-