public class JobHistoryEventFactory extends Object implements IJobHistoryEventFactory
| Constructor and Description |
|---|
JobHistoryEventFactory(csbase.server.services.commandpersistenceservice.CommandPersistenceService persistenceService) |
| Modifier and Type | Method and Description |
|---|---|
br.pucrio.tecgraf.soma.job.JobExecutingEvent |
buildExecutingEvent(csbase.server.plugin.service.commandpersistenceservice.ICommandInfo commandInfo)
Build an event indicating that a job is being executed.
|
br.pucrio.tecgraf.soma.job.JobFinishedEvent |
buildFinishedEvent(csbase.server.plugin.service.commandpersistenceservice.ICommandInfo commandInfo)
Build an event indicating that a job executing ended.
|
protected br.pucrio.tecgraf.soma.job.Flow |
buildFlowObject(csbase.logic.algorithms.AlgorithmConfigurator algoConf) |
br.pucrio.tecgraf.soma.job.JobRescheduledEvent |
buildRescheduledEvent(csbase.server.plugin.service.commandpersistenceservice.ICommandInfo commandInfo)
Build an event indicating that a job was rescheduled, after an execution attempt.
|
br.pucrio.tecgraf.soma.job.JobScheduledEvent |
buildScheduledEvent(csbase.server.plugin.service.commandpersistenceservice.ICommandInfo commandInfo)
Build an event indicating that a job was scheduled for execution.
|
br.pucrio.tecgraf.soma.job.JobStageInEvent |
buildStageInEvent(csbase.server.plugin.service.commandpersistenceservice.ICommandInfo commandInfo)
Build an event to represent the uploading stage of a job.
|
br.pucrio.tecgraf.soma.job.JobStageOutEvent |
buildStageOutEvent(csbase.server.plugin.service.commandpersistenceservice.ICommandInfo commandInfo)
Build an event to represent the downloading stage of a job.
|
protected br.pucrio.tecgraf.soma.job.ExitStatus |
convertToJobExitStatus(csbase.logic.CommandFinalizationInfo finalizationInfo) |
protected br.pucrio.tecgraf.soma.job.Algorithm |
createAlgorithmFromConfig(csbase.logic.algorithms.AlgorithmConfigurator algoConf) |
protected csbase.logic.CommandInfo |
getCommandInfo(csbase.server.plugin.service.commandpersistenceservice.ICommandInfo commandInfo) |
protected boolean |
isFlow(csbase.logic.algorithms.AlgorithmConfigurator algoConf) |
public JobHistoryEventFactory(csbase.server.services.commandpersistenceservice.CommandPersistenceService persistenceService)
public br.pucrio.tecgraf.soma.job.JobStageInEvent buildStageInEvent(csbase.server.plugin.service.commandpersistenceservice.ICommandInfo commandInfo)
IJobHistoryEventFactorybuildStageInEvent in interface IJobHistoryEventFactorycommandInfo - containing csbase information for the related job.public br.pucrio.tecgraf.soma.job.JobStageOutEvent buildStageOutEvent(csbase.server.plugin.service.commandpersistenceservice.ICommandInfo commandInfo)
IJobHistoryEventFactorybuildStageOutEvent in interface IJobHistoryEventFactorycommandInfo - containing csbase information for the related job.public br.pucrio.tecgraf.soma.job.JobExecutingEvent buildExecutingEvent(csbase.server.plugin.service.commandpersistenceservice.ICommandInfo commandInfo)
IJobHistoryEventFactorybuildExecutingEvent in interface IJobHistoryEventFactorycommandInfo - containing csbase information for the related job.public br.pucrio.tecgraf.soma.job.JobRescheduledEvent buildRescheduledEvent(csbase.server.plugin.service.commandpersistenceservice.ICommandInfo commandInfo)
IJobHistoryEventFactorybuildRescheduledEvent in interface IJobHistoryEventFactorycommandInfo - containing csbase information for the related job.public br.pucrio.tecgraf.soma.job.JobScheduledEvent buildScheduledEvent(csbase.server.plugin.service.commandpersistenceservice.ICommandInfo commandInfo)
IJobHistoryEventFactorybuildScheduledEvent in interface IJobHistoryEventFactorycommandInfo - containing csbase information for the related job.public br.pucrio.tecgraf.soma.job.JobFinishedEvent buildFinishedEvent(csbase.server.plugin.service.commandpersistenceservice.ICommandInfo commandInfo)
IJobHistoryEventFactorybuildFinishedEvent in interface IJobHistoryEventFactorycommandInfo - containing csbase information for the related jobprotected boolean isFlow(csbase.logic.algorithms.AlgorithmConfigurator algoConf)
protected br.pucrio.tecgraf.soma.job.Algorithm createAlgorithmFromConfig(csbase.logic.algorithms.AlgorithmConfigurator algoConf)
protected br.pucrio.tecgraf.soma.job.ExitStatus convertToJobExitStatus(csbase.logic.CommandFinalizationInfo finalizationInfo)
protected csbase.logic.CommandInfo getCommandInfo(csbase.server.plugin.service.commandpersistenceservice.ICommandInfo commandInfo)
protected br.pucrio.tecgraf.soma.job.Flow buildFlowObject(csbase.logic.algorithms.AlgorithmConfigurator algoConf)
Copyright © 2019. All rights reserved.