@Test public void testMatchingPropertiesSet() { Iterator<String> i = NodePropertySpecifier.ALL.getMatchingProperties().iterator(); String prop1 = i.next(); String prop2 = i.next(); Set<String> firstTwoProperties = ImmutableSet.of(prop1, prop2); assertThat( new NodePropertySpecifier(firstTwoProperties).getMatchingProperties(), containsInAnyOrder(prop1, prop2)); }
@Override public List<String> getMatchingProperties() { return _properties; }
NodePropertySpecifier extends PropertySpecifier { @Override public List<String> getMatchingProperties() { return _properties; } }
NodePropertySpecifier extends PropertySpecifier { @Override public List<String> getMatchingProperties() { return _properties; } NodePropertySpecifier(Set<String> properties); }
NodePropertySpecifier extends PropertySpecifier { @Override public List<String> getMatchingProperties() { return _properties; } NodePropertySpecifier(Set<String> properties); static PropertyDescriptor<Configuration> getPropertyDescriptor(String property); static NodePropertySpecifier create(@Nullable String expression); @Override List<String> getMatchingProperties(); @Override boolean equals(Object o); @Override int hashCode(); }
NodePropertySpecifier extends PropertySpecifier { @Override public List<String> getMatchingProperties() { return _properties; } NodePropertySpecifier(Set<String> properties); static PropertyDescriptor<Configuration> getPropertyDescriptor(String property); static NodePropertySpecifier create(@Nullable String expression); @Override List<String> getMatchingProperties(); @Override boolean equals(Object o); @Override int hashCode(); static final String AS_PATH_ACCESS_LISTS; static final String AUTHENTICATION_KEY_CHAINS; static final String COMMUNITY_LISTS; static final String CONFIGURATION_FORMAT; static final String DEFAULT_CROSS_ZONE_ACTION; static final String DEFAULT_INBOUND_ACTION; static final String DNS_SERVERS; static final String DNS_SOURCE_INTERFACE; static final String DOMAIN_NAME; static final String HOSTNAME; static final String IKE_PHASE1_KEYS; static final String IKE_PHASE1_POLICIES; static final String IKE_PHASE1_PROPOSALS; static final String INTERFACES; static final String IP_ACCESS_LISTS; static final String IP_6_ACCESS_LISTS; static final String IPSEC_PEER_CONFIGS; static final String IPSEC_PHASE2_POLICIES; static final String IPSEC_PHASE2_PROPOSALS; static final String LOGGING_SERVERS; static final String LOGGING_SOURCE_INTERFACE; static final String NTP_SERVERS; static final String NTP_SOURCE_INTERFACE; static final String PBR_POLICIES; static final String ROUTE_FILTER_LISTS; static final String ROUTE_6_FILTER_LISTS; static final String ROUTING_POLICIES; static final String SNMP_SOURCE_INTERFACE; static final String SNMP_TRAP_SERVERS; static final String TACACS_SERVERS; static final String TACACS_SOURCE_INTERFACE; static final String VRFS; static final String ZONES; static final NodePropertySpecifier ALL; }