org.jclouds.cloudstack.functions
Class CreateFirewallRulesForIP

java.lang.Object
  extended by org.jclouds.cloudstack.functions.CreateFirewallRulesForIP

@Singleton
public class CreateFirewallRulesForIP
extends Object

Author:
Adrian Cole

Field Summary
protected  org.jclouds.logging.Logger logger
           
 
Constructor Summary
CreateFirewallRulesForIP(CloudStackClient client, BlockUntilJobCompletesAndReturnResult blockUntilJobCompletesAndReturnResult, com.google.common.cache.LoadingCache<String,Set<FirewallRule>> getFirewallRulesByVirtualMachine)
           
 
Method Summary
 Set<FirewallRule> apply(PublicIPAddress ip, Iterable<Integer> ports)
           
 Set<FirewallRule> apply(PublicIPAddress ip, String protocol, Iterable<Integer> ports)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

@Named(value="jclouds.compute")
protected org.jclouds.logging.Logger logger
Constructor Detail

CreateFirewallRulesForIP

@Inject
public CreateFirewallRulesForIP(CloudStackClient 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)


Copyright © 2009-2012 jclouds. All Rights Reserved.