org.jclouds.vcloud.domain.network.firewall
Class FirewallProtocols

java.lang.Object
  extended by org.jclouds.vcloud.domain.network.firewall.FirewallProtocols

public class FirewallProtocols
extends Object

The Protocols element specifies the protocols to which firewall rules apply.

Since:
vcloud api 0.9 emulated for 0.8

Constructor Summary
FirewallProtocols(boolean tcp, boolean udp)
           
 
Method Summary
 boolean equals(Object obj)
           
 int hashCode()
           
 boolean isTcp()
           
 boolean isUdp()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FirewallProtocols

public FirewallProtocols(boolean tcp,
                         boolean udp)
Method Detail

isTcp

public boolean isTcp()
Returns:
true if the firewall rules apply to the TCP protocol

isUdp

public boolean isUdp()
Returns:
true if the firewall rules apply to the UDP protocol

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2012 jclouds. All Rights Reserved.