Package hudson.plugins.ec2.util
Interface EC2AgentFactory
-
- All Known Implementing Classes:
EC2AgentFactoryImpl
public interface EC2AgentFactory
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description EC2OndemandSlave
createOnDemandAgent(EC2AgentConfig.OnDemand config)
EC2SpotSlave
createSpotAgent(EC2AgentConfig.Spot config)
static EC2AgentFactory
getInstance()
-
-
-
Method Detail
-
getInstance
static EC2AgentFactory getInstance()
-
createOnDemandAgent
EC2OndemandSlave createOnDemandAgent(EC2AgentConfig.OnDemand config) throws Descriptor.FormException, IOException
- Throws:
Descriptor.FormException
IOException
-
createSpotAgent
EC2SpotSlave createSpotAgent(EC2AgentConfig.Spot config) throws Descriptor.FormException, IOException
- Throws:
Descriptor.FormException
IOException
-
-