@Singleton public class CreateFirewallRulesForIP extends Object
Constructor and Description |
---|
CreateFirewallRulesForIP(CloudStackClient client,
BlockUntilJobCompletesAndReturnResult blockUntilJobCompletesAndReturnResult,
com.google.common.cache.LoadingCache<String,Set<FirewallRule>> getFirewallRulesByVirtualMachine) |
Modifier and Type | Method and Description |
---|---|
Set<FirewallRule> |
apply(PublicIPAddress ip,
Iterable<Integer> ports) |
Set<FirewallRule> |
apply(PublicIPAddress ip,
String protocol,
Iterable<Integer> ports) |
@Named(value="jclouds.compute") protected Logger logger
@Inject public CreateFirewallRulesForIP(CloudStackClient client, BlockUntilJobCompletesAndReturnResult blockUntilJobCompletesAndReturnResult, com.google.common.cache.LoadingCache<String,Set<FirewallRule>> getFirewallRulesByVirtualMachine)
public Set<FirewallRule> apply(PublicIPAddress ip, Iterable<Integer> ports)
public Set<FirewallRule> apply(PublicIPAddress ip, String protocol, Iterable<Integer> ports)
Copyright © 2009-2013 jclouds. All Rights Reserved.