@Override protected void validate() { super.validate(); notEmpty(this, "expression", expression); }
@Override protected void validate() { super.validate(); notEmpty(this, "value", value); } }
@Override protected void validate() { super.validate(); notEmpty(this, "expression", expression); }
@Override protected void validate() { super.validate(); notEmpty(this, "value", value); } }
public static void validUrl(final Object xbean, final String name, final String value) { notEmpty(xbean, name, value); try { new URL(value); } catch (final MalformedURLException e) { throw new ConfigurationException("Attribute \"" + name + "\" of " + determineBeanName(xbean) + " is not a valid URL: " + e.getMessage()); } }
public static void validUrl(final Object xbean, final String name, final String value) { notEmpty(xbean, name, value); try { new URL(value); } catch (final MalformedURLException e) { throw new ConfigurationException("Attribute \"" + name + "\" of " + determineBeanName(xbean) + " is not a valid URL: " + e.getMessage()); } }
protected void validate() { if ((fromName == null || fromName.equals("")) && (fromDescription == null || fromDescription.equals(""))) { throw new ConfigurationException("Either from-name or from-description must be set for regexp selector"); } notEmpty(this, "to-name", getToName()); } @Override
protected void validate() { if ((fromName == null || fromName.equals("")) && (fromDescription == null || fromDescription.equals(""))) { throw new ConfigurationException("Either from-name or from-description must be set for regexp selector"); } notEmpty(this, "to-name", getToName()); } @Override
@Override public void validate() { notEmpty(this, "expression", getExpressions()); for (final RegExpLineFormatXBean expression : expressions) { expression.validate(); } }
@Override protected void validate() { super.validate(); notEmpty(this, "url", getUrl()); }
@Override protected void validate() { super.validate(); notEmpty(this, "url", getUrl()); }
@Override protected void validate() { super.validate(); notEmpty(this, "host", getHost()); validPort(this, "port", getPort()); }
@Override protected void validate() { super.validate(); notEmpty(this, "host", getHost()); validPort(this, "port", getPort()); } @Override
@Override protected void validate() { super.validate(); notEmpty(this, "host", getHost()); validPort(this, "port", getPort()); } @Override
@Override protected void validate() { super.validate(); notEmpty(this, "host", getHost()); validPort(this, "port", getPort()); if (commands != null) { for (final RedisCommandXBean cmd : commands) { cmd.validate(); } } }
@Override protected void validate() { super.validate(); notNull(this, "parser", getParser()); notEmpty(this, "parser", getParser()); for (final HttpResponseParserXBean item : parser) { item.validate(); } }
@Override protected void validate() { super.validate(); notEmpty(this, "host", getHost()); validPort(this, "port", getPort()); if (commands != null) { for (final RedisCommandXBean cmd : commands) { cmd.validate(); } } }
protected void validate() { notEmpty(this, "expression", getExpression()); validPattern(this, "expression", getExpression()); greaterThanZero(this, "name-index", getNameIndex()); greaterThanZero(this, "value-index", getValueIndex()); }