Package org.jclouds.cloudstack.functions
Class CreateFirewallRulesForIP
- java.lang.Object
-
- org.jclouds.cloudstack.functions.CreateFirewallRulesForIP
-
@Singleton public class CreateFirewallRulesForIP extends Object
-
-
Constructor Summary
Constructors Constructor Description CreateFirewallRulesForIP(CloudStackApi client, BlockUntilJobCompletesAndReturnResult blockUntilJobCompletesAndReturnResult, com.google.common.cache.LoadingCache<String,Set<FirewallRule>> getFirewallRulesByVirtualMachine)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<FirewallRule>
apply(PublicIPAddress ip, Iterable<Integer> ports)
Set<FirewallRule>
apply(PublicIPAddress ip, String protocol, Iterable<Integer> ports)
-
-
-
Field Detail
-
logger
@Named("jclouds.compute") protected Logger logger
-
-
Constructor Detail
-
CreateFirewallRulesForIP
@Inject public CreateFirewallRulesForIP(CloudStackApi client, BlockUntilJobCompletesAndReturnResult blockUntilJobCompletesAndReturnResult, com.google.common.cache.LoadingCache<String,Set<FirewallRule>> getFirewallRulesByVirtualMachine)
-
-
Method Detail
-
apply
public Set<FirewallRule> apply(PublicIPAddress ip, Iterable<Integer> ports)
-
apply
public Set<FirewallRule> apply(PublicIPAddress ip, String protocol, Iterable<Integer> ports)
-
-