@Configuration
public class StateMachineActionsAutoConfiguration
extends java.lang.Object
Constructor and Description |
---|
StateMachineActionsAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
com.netflix.genie.agent.execution.statemachine.actions.CleanupJobAction |
cleanupJobAction(ExecutionContext executionContext,
AgentJobService agentJobService)
Provide a lazy
CleanupJobAction bean. |
com.netflix.genie.agent.execution.statemachine.actions.ConfigureAgentAction |
configureAgentAction(ExecutionContext executionContext)
Provide a lazy
ConfigureAgentAction bean. |
com.netflix.genie.agent.execution.statemachine.actions.HandleErrorAction |
handleErrorAction(ExecutionContext executionContext,
AgentJobService agentJobService)
Provide a lazy
HandleErrorAction bean. |
com.netflix.genie.agent.execution.statemachine.actions.InitializeAction |
initializeAction(ExecutionContext executionContext,
AgentJobService agentJobService,
AgentMetadata agentMetadata)
Provide a lazy
InitializeAction bean. |
com.netflix.genie.agent.execution.statemachine.actions.LaunchJobAction |
launchJobAction(ExecutionContext executionContext,
JobProcessManager jobProcessManager,
AgentJobService agentJobService,
AgentFileStreamService agentFileStreamService)
Provide a lazy
LaunchJobAction bean. |
com.netflix.genie.agent.execution.statemachine.actions.MonitorJobAction |
monitorJobAction(ExecutionContext executionContext,
JobProcessManager jobProcessManager,
AgentJobService agentJobService,
JobSetupService jobSetupService,
JobArchiveService jobArchiveService,
ArgumentDelegates.CleanupArguments cleanupArguments)
Provide a lazy
MonitorJobAction bean. |
com.netflix.genie.agent.execution.statemachine.actions.ResolveJobSpecificationAction |
resolveJobSpecificationAction(ExecutionContext executionContext,
ArgumentDelegates.JobRequestArguments jobRequestArguments,
AgentJobService agentJobService,
AgentMetadata agentMetadata,
JobRequestConverter jobRequestConverter)
Provide a lazy
ResolveJobSpecificationAction bean. |
com.netflix.genie.agent.execution.statemachine.actions.SetUpJobAction |
setUpJobAction(ExecutionContext executionContext,
JobSetupService jobSetupService,
AgentJobService agentJobService,
AgentHeartBeatService agentHeartBeatService,
AgentJobKillService agentJobKillService,
AgentFileStreamService fileStreamService)
Provide a lazy
SetUpJobAction bean. |
com.netflix.genie.agent.execution.statemachine.actions.ShutdownAction |
shutdownAction(ExecutionContext executionContext)
Provide a
ShutdownAction bean. |
public StateMachineActionsAutoConfiguration()
@Bean @Lazy public com.netflix.genie.agent.execution.statemachine.actions.CleanupJobAction cleanupJobAction(ExecutionContext executionContext, AgentJobService agentJobService)
CleanupJobAction
bean.executionContext
- The job execution context to useagentJobService
- The agent job service to useCleanupJobAction
instance@Bean @Lazy public com.netflix.genie.agent.execution.statemachine.actions.ConfigureAgentAction configureAgentAction(ExecutionContext executionContext)
ConfigureAgentAction
bean.executionContext
- The job execution context to useConfigureAgentAction
instance@Bean @Lazy public com.netflix.genie.agent.execution.statemachine.actions.HandleErrorAction handleErrorAction(ExecutionContext executionContext, AgentJobService agentJobService)
HandleErrorAction
bean.executionContext
- The job execution context to useagentJobService
- The agent job service to useHandleErrorAction
instance@Bean @Lazy public com.netflix.genie.agent.execution.statemachine.actions.InitializeAction initializeAction(ExecutionContext executionContext, AgentJobService agentJobService, AgentMetadata agentMetadata)
InitializeAction
bean.executionContext
- The job execution context to useagentJobService
- The agent job service to useagentMetadata
- The agent metadata to useInitializeAction
instance@Bean @Lazy public com.netflix.genie.agent.execution.statemachine.actions.LaunchJobAction launchJobAction(ExecutionContext executionContext, JobProcessManager jobProcessManager, AgentJobService agentJobService, AgentFileStreamService agentFileStreamService)
LaunchJobAction
bean.executionContext
- The job execution context to usejobProcessManager
- The launch job service to useagentJobService
- The agent job service to useagentFileStreamService
- The agent file stream service to useLaunchJobAction
instance@Bean @Lazy public com.netflix.genie.agent.execution.statemachine.actions.MonitorJobAction monitorJobAction(ExecutionContext executionContext, JobProcessManager jobProcessManager, AgentJobService agentJobService, JobSetupService jobSetupService, JobArchiveService jobArchiveService, ArgumentDelegates.CleanupArguments cleanupArguments)
MonitorJobAction
bean.executionContext
- The job execution context to usejobProcessManager
- The launch job service to useagentJobService
- The agent job service to usejobSetupService
- The job setup servicejobArchiveService
- The job archive servicecleanupArguments
- The cleanup arguments groupMonitorJobAction
instance@Bean @Lazy public com.netflix.genie.agent.execution.statemachine.actions.ResolveJobSpecificationAction resolveJobSpecificationAction(ExecutionContext executionContext, ArgumentDelegates.JobRequestArguments jobRequestArguments, AgentJobService agentJobService, AgentMetadata agentMetadata, JobRequestConverter jobRequestConverter)
ResolveJobSpecificationAction
bean.executionContext
- The job execution context to usejobRequestArguments
- The job request arguments to useagentJobService
- The agent job service to useagentMetadata
- The agent metadata to usejobRequestConverter
- The job request converter to useResolveJobSpecificationAction
instance@Bean @Lazy public com.netflix.genie.agent.execution.statemachine.actions.SetUpJobAction setUpJobAction(ExecutionContext executionContext, JobSetupService jobSetupService, AgentJobService agentJobService, AgentHeartBeatService agentHeartBeatService, AgentJobKillService agentJobKillService, AgentFileStreamService fileStreamService)
SetUpJobAction
bean.executionContext
- The job execution context to usejobSetupService
- The job setup service to useagentJobService
- The agent job service to useagentHeartBeatService
- The agent heart beat service to useagentJobKillService
- The agent job kill service to usefileStreamService
- The agent file stream service to useSetUpJobAction
instance@Bean @Lazy public com.netflix.genie.agent.execution.statemachine.actions.ShutdownAction shutdownAction(ExecutionContext executionContext)
ShutdownAction
bean.executionContext
- The job execution context to useShutdownAction
instance