@Service public class JobService extends Object
| Constructor and Description |
|---|
JobService(br.pucrio.tecgraf.soma.serviceapi.persistence.repository.Repository<br.pucrio.tecgraf.soma.job.domain.model.Job,br.pucrio.tecgraf.soma.serviceapi.persistence.specification.JPASpecification<br.pucrio.tecgraf.soma.job.domain.model.Job>> jobRepository) |
| Modifier and Type | Method and Description |
|---|---|
void |
executeJob(br.pucrio.tecgraf.soma.job.JobExecutingEvent executingEvent) |
void |
finishJob(br.pucrio.tecgraf.soma.job.JobFinishedEvent finishedEvent) |
void |
rescheduleJob(br.pucrio.tecgraf.soma.job.JobRescheduledEvent rescheduledEvent) |
void |
scheduleJob(br.pucrio.tecgraf.soma.job.JobScheduledEvent scheduledEvent) |
void |
stageJobIn(br.pucrio.tecgraf.soma.job.JobStageInEvent stageInEvent) |
void |
stageJobOut(br.pucrio.tecgraf.soma.job.JobStageOutEvent stageOutEvent) |
@Autowired public JobService(br.pucrio.tecgraf.soma.serviceapi.persistence.repository.Repository<br.pucrio.tecgraf.soma.job.domain.model.Job,br.pucrio.tecgraf.soma.serviceapi.persistence.specification.JPASpecification<br.pucrio.tecgraf.soma.job.domain.model.Job>> jobRepository)
@Transactional
public void scheduleJob(br.pucrio.tecgraf.soma.job.JobScheduledEvent scheduledEvent)
throws IOException
IOException@Transactional
public void rescheduleJob(br.pucrio.tecgraf.soma.job.JobRescheduledEvent rescheduledEvent)
throws IOException
IOException@Transactional
public void stageJobIn(br.pucrio.tecgraf.soma.job.JobStageInEvent stageInEvent)
throws IOException
IOException@Transactional
public void stageJobOut(br.pucrio.tecgraf.soma.job.JobStageOutEvent stageOutEvent)
throws IOException
IOException@Transactional
public void executeJob(br.pucrio.tecgraf.soma.job.JobExecutingEvent executingEvent)
throws IOException
IOException@Transactional
public void finishJob(br.pucrio.tecgraf.soma.job.JobFinishedEvent finishedEvent)
throws IOException
IOExceptionCopyright © 2019. All rights reserved.