Package hudson.plugins.ec2.util
Class EC2AgentFactoryImpl
- java.lang.Object
-
- hudson.plugins.ec2.util.EC2AgentFactoryImpl
-
- All Implemented Interfaces:
EC2AgentFactory
@Extension public class EC2AgentFactoryImpl extends Object implements EC2AgentFactory
-
-
Constructor Summary
Constructors Constructor Description EC2AgentFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EC2OndemandSlave
createOnDemandAgent(EC2AgentConfig.OnDemand config)
EC2SpotSlave
createSpotAgent(EC2AgentConfig.Spot config)
-
-
-
Method Detail
-
createOnDemandAgent
public EC2OndemandSlave createOnDemandAgent(EC2AgentConfig.OnDemand config) throws Descriptor.FormException, IOException
- Specified by:
createOnDemandAgent
in interfaceEC2AgentFactory
- Throws:
Descriptor.FormException
IOException
-
createSpotAgent
public EC2SpotSlave createSpotAgent(EC2AgentConfig.Spot config) throws Descriptor.FormException, IOException
- Specified by:
createSpotAgent
in interfaceEC2AgentFactory
- Throws:
Descriptor.FormException
IOException
-
-