com.adobe.platform.operation.internal.cpf.builder.ExecutionInfoDtoBuilder Maven / Gradle / Ivy
The newest version!
/*
* Copyright 2019 Adobe
* All Rights Reserved.
*
* NOTICE: Adobe permits you to use, modify, and distribute this file in
* accordance with the terms of the Adobe license agreement accompanying
* it. If you have received this file from a source other than Adobe,
* then your use, modification, or distribution of it requires the prior
* written permission of Adobe.
*/
package com.adobe.platform.operation.internal.cpf.builder;
import com.adobe.platform.operation.internal.cpf.context.ContentAnalyzerRequestBuilderContext;
import com.adobe.platform.operation.internal.cpf.dto.request.ExecutionInfoDto;
public class ExecutionInfoDtoBuilder {
private String engine;
public ExecutionInfoDtoBuilder(ContentAnalyzerRequestBuilderContext contentAnalyzerRequestBuilderContext) {
this.engine = contentAnalyzerRequestBuilderContext.getExecutionInfo();
}
public ExecutionInfoDto build() {
ExecutionInfoDto executionInfoDto = new ExecutionInfoDto();
executionInfoDto.setEngine(this.engine);
return executionInfoDto;
}
}