cn.sliew.carp.module.scheduler.service.convert.ScheduleJobInstanceConvertImpl Maven / Gradle / Ivy
The newest version!
package cn.sliew.carp.module.scheduler.service.convert;
import cn.sliew.carp.module.scheduler.repository.entity.ScheduleJobInstance;
import cn.sliew.carp.module.scheduler.service.dto.ScheduleJobInstanceDTO;
import java.util.ArrayList;
import java.util.List;
import javax.annotation.processing.Generated;
@Generated(
value = "org.mapstruct.ap.MappingProcessor",
date = "2024-11-16T14:39:54+0000",
comments = "version: 1.4.2.Final, compiler: javac, environment: Java 17.0.13 (Eclipse Adoptium)"
)
public class ScheduleJobInstanceConvertImpl implements ScheduleJobInstanceConvert {
@Override
public List toDo(List arg0) {
if ( arg0 == null ) {
return null;
}
List list = new ArrayList( arg0.size() );
for ( ScheduleJobInstanceDTO scheduleJobInstanceDTO : arg0 ) {
list.add( toDo( scheduleJobInstanceDTO ) );
}
return list;
}
@Override
public List toDto(List arg0) {
if ( arg0 == null ) {
return null;
}
List list = new ArrayList( arg0.size() );
for ( ScheduleJobInstance scheduleJobInstance : arg0 ) {
list.add( toDto( scheduleJobInstance ) );
}
return list;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy