org.apache.whirr.service
Class FirewallManager.StoredRule

java.lang.Object
  extended by org.apache.whirr.service.FirewallManager.StoredRule
Enclosing class:
FirewallManager

public static class FirewallManager.StoredRule
extends Object


Constructor Summary
FirewallManager.StoredRule(FirewallManager.Rule rule, List<String> cidrs, Set<Cluster.Instance> instances)
           
 
Method Summary
 List<String> cidrs()
          Get the CIDRs for this stored rule.
 Set<Cluster.Instance> instances()
          Get the set of Instances for this stored rule.
 FirewallManager.Rule rule()
          Get the Rule object for this stored rule.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FirewallManager.StoredRule

public FirewallManager.StoredRule(FirewallManager.Rule rule,
                                  List<String> cidrs,
                                  Set<Cluster.Instance> instances)
Method Detail

rule

public FirewallManager.Rule rule()
Get the Rule object for this stored rule.


cidrs

public List<String> cidrs()
Get the CIDRs for this stored rule.


instances

public Set<Cluster.Instance> instances()
Get the set of Instances for this stored rule.



Copyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.