spotless
This commit is contained in:
parent
2037c01454
commit
ccbd9afd98
|
@ -165,22 +165,21 @@ public class Batch2WorkChunkEntity implements Serializable {
|
|||
|
||||
public static Batch2WorkChunkEntity fromWorkChunk(WorkChunk theWorkChunk) {
|
||||
Batch2WorkChunkEntity entity = new Batch2WorkChunkEntity(
|
||||
theWorkChunk.getId(),
|
||||
theWorkChunk.getSequence(),
|
||||
theWorkChunk.getJobDefinitionId(),
|
||||
theWorkChunk.getJobDefinitionVersion(),
|
||||
theWorkChunk.getInstanceId(),
|
||||
theWorkChunk.getTargetStepId(),
|
||||
theWorkChunk.getStatus(),
|
||||
theWorkChunk.getCreateTime(),
|
||||
theWorkChunk.getStartTime(),
|
||||
theWorkChunk.getUpdateTime(),
|
||||
theWorkChunk.getEndTime(),
|
||||
theWorkChunk.getErrorMessage(),
|
||||
theWorkChunk.getErrorCount(),
|
||||
theWorkChunk.getRecordsProcessed(),
|
||||
theWorkChunk.getWarningMessage()
|
||||
);
|
||||
theWorkChunk.getId(),
|
||||
theWorkChunk.getSequence(),
|
||||
theWorkChunk.getJobDefinitionId(),
|
||||
theWorkChunk.getJobDefinitionVersion(),
|
||||
theWorkChunk.getInstanceId(),
|
||||
theWorkChunk.getTargetStepId(),
|
||||
theWorkChunk.getStatus(),
|
||||
theWorkChunk.getCreateTime(),
|
||||
theWorkChunk.getStartTime(),
|
||||
theWorkChunk.getUpdateTime(),
|
||||
theWorkChunk.getEndTime(),
|
||||
theWorkChunk.getErrorMessage(),
|
||||
theWorkChunk.getErrorCount(),
|
||||
theWorkChunk.getRecordsProcessed(),
|
||||
theWorkChunk.getWarningMessage());
|
||||
entity.setSerializedData(theWorkChunk.getData());
|
||||
|
||||
return entity;
|
||||
|
|
|
@ -28,7 +28,7 @@ public interface IInstanceStateTransitions extends IWorkChunkCommon, WorkChunkTe
|
|||
Logger ourLog = LoggerFactory.getLogger(IInstanceStateTransitions.class);
|
||||
|
||||
@Test
|
||||
default void createInstance_createsInQueuedWithChunk() {
|
||||
default void createInstance_createsInQueuedWithChunkInReady() {
|
||||
// given
|
||||
JobDefinition<?> jd = withJobDefinition(false);
|
||||
|
||||
|
|
Loading…
Reference in New Issue