All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aizuda.snailjob.server.web.service.convert.RetrySummaryResponseVOConverterImpl Maven / Gradle / Ivy

package com.aizuda.snailjob.server.web.service.convert;

import com.aizuda.snailjob.server.web.model.response.DashboardCardResponseVO;
import com.aizuda.snailjob.template.datasource.persistence.dataobject.DashboardCardResponseDO;
import javax.annotation.processing.Generated;

@Generated(
    value = "org.mapstruct.ap.MappingProcessor",
    date = "2024-05-29T12:27:56+0800",
    comments = "version: 1.5.3.Final, compiler: javac, environment: Java 17.0.10 (Amazon.com Inc.)"
)
public class RetrySummaryResponseVOConverterImpl implements RetrySummaryResponseVOConverter {

    @Override
    public DashboardCardResponseVO.RetryTask convert(DashboardCardResponseDO.RetryTask retryTask) {
        if ( retryTask == null ) {
            return null;
        }

        DashboardCardResponseVO.RetryTask retryTask1 = new DashboardCardResponseVO.RetryTask();

        retryTask1.setTotalNum( retryTask.getTotalNum() );
        retryTask1.setRunningNum( retryTask.getRunningNum() );
        retryTask1.setFinishNum( retryTask.getFinishNum() );
        retryTask1.setMaxCountNum( retryTask.getMaxCountNum() );
        retryTask1.setSuspendNum( retryTask.getSuspendNum() );

        return retryTask1;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy