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
ConstructorsConstructorDescriptionGenerationResult(List<File> generatedFiles, String serviceName) Creates aGenerationResultbased 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 aGenerationResultbased 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
Optioncontaining the service name, if present.
-
getGeneratedFiles
-