@Test public void testIsApplicable() { final Modifier modifier = new Modifier(".1.3.6.*", "com.oneandone.snmpman.configuration.modifier.Counter32Modifier", new ModifierProperties()); assertTrue(modifier.isApplicable(new OID(".1.3.6.1"))); }
public boolean isApplicable(final OID oid) { return this.oid.matches(oid); }
Modifier implements VariableModifier<T> { public boolean isApplicable(final OID oid) { return this.oid.matches(oid); } }
Modifier implements VariableModifier<T> { public boolean isApplicable(final OID oid) { return this.oid.matches(oid); } @SuppressWarnings("unchecked")  Modifier(@JsonProperty("oid") final String oid,
                    @JsonProperty("class") final String modifierClass,
                    @JsonProperty("properties") final ModifierProperties properties); }
Modifier implements VariableModifier<T> { public boolean isApplicable(final OID oid) { return this.oid.matches(oid); } @SuppressWarnings("unchecked")  Modifier(@JsonProperty("oid") final String oid,
                    @JsonProperty("class") final String modifierClass,
                    @JsonProperty("properties") final ModifierProperties properties); boolean isApplicable(final OID oid); @Override T modify(T variable); }
Modifier implements VariableModifier<T> { public boolean isApplicable(final OID oid) { return this.oid.matches(oid); } @SuppressWarnings("unchecked")  Modifier(@JsonProperty("oid") final String oid,
                    @JsonProperty("class") final String modifierClass,
                    @JsonProperty("properties") final ModifierProperties properties); boolean isApplicable(final OID oid); @Override T modify(T variable);  }