Class NetworkPredicates
java.lang.Object
org.jclouds.cloudstack.predicates.NetworkPredicates
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
static enum
static enum
static enum
static enum
static enum
static enum
static class
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.google.common.base.Predicate
<GuestIPType> static final com.google.common.base.Predicate
<NetworkService> static final com.google.common.base.Predicate
<GuestIPType> static final com.google.common.base.Predicate
<GuestIPType> static final com.google.common.base.Predicate
<NetworkService> static final com.google.common.base.Predicate
<NetworkService> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic com.google.common.base.Predicate
<Network> any()
static com.google.common.base.Predicate
<Network> defaultNetworkInZone
(String zoneId) Filters for default networks in a specific zone.static com.google.common.base.Predicate
<Network> static com.google.common.base.Predicate
<Network> static com.google.common.base.Predicate
<Network> static com.google.common.base.Predicate
<Network> static com.google.common.base.Predicate
<Network> static com.google.common.base.Predicate
<Network>
-
Field Details
-
supportsStaticNAT
-
supportsPortForwarding
-
isLoadBalancerService
-
isVirtualNetwork
-
isIsolatedNetwork
-
-
Constructor Details
-
NetworkPredicates
public NetworkPredicates()
-
-
Method Details
-
supportsStaticNAT
- Returns:
- true, if the network supports static NAT.
-
supportsPortForwarding
- Returns:
- true, if the network supports port forwarding.
-
hasLoadBalancerService
- Returns:
- true, if the network supports load balancing.
-
isVirtualNetwork
- Returns:
- true, if the network is a virtual network.
-
isIsolatedNetwork
- Returns:
- true, if the network is an isolated network.
-
defaultNetworkInZone
Filters for default networks in a specific zone.- Parameters:
zoneId
- the ID of the required zone.- Returns:
- networks in the zone that have the default flag set.
-
any
- Returns:
- always returns true.
-