public static void hasNoText(CharSequence sequence) { hasNoText(sequence, "[Assertion failed] - this CharSequence argument must be empty"); }
public SearchRequestBuilder excludeSource(boolean value) { if (value) { Assert.hasNoText(this.fields, String.format("_source section can't be excluded if fields [%s] are requested", this.fields)); } this.excludeSource = value; return this; }
public static void hasNoText(CharSequence sequence) { hasNoText(sequence, "[Assertion failed] - this CharSequence argument must be empty"); }
public static void hasNoText(CharSequence sequence) { hasNoText(sequence, "[Assertion failed] - this CharSequence argument must be empty"); }
public static void hasNoText(CharSequence sequence) { hasNoText(sequence, "[Assertion failed] - this CharSequence argument must be empty"); }
public SearchRequestBuilder excludeSource(boolean value) { if (value) { Assert.hasNoText(this.fields, String.format("_source section can't be excluded if fields [%s] are requested", this.fields)); } this.excludeSource = value; return this; }
public SearchRequestBuilder excludeSource(boolean value) { if (value) { Assert.hasNoText(this.fields, String.format("_source section can't be excluded if fields [%s] are requested", this.fields)); } this.excludeSource = value; return this; }
public SearchRequestBuilder excludeSource(boolean value) { if (value) { Assert.hasNoText(this.fields, String.format("_source section can't be excluded if fields [%s] are requested", this.fields)); } this.excludeSource = value; return this; }