MCPcopy Create free account
hub / github.com/apache/storm / validate

Method validate

storm-client/src/jvm/org/apache/storm/generated/Bolt.java:372–386  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

370 }
371
372 public void validate() throws org.apache.storm.thrift.TException {
373 // check for required fields
374 if (!is_set_bolt_object()) {
375 throw new org.apache.storm.thrift.protocol.TProtocolException("Required field 'bolt_object' is unset! Struct:" + toString());
376 }
377
378 if (!is_set_common()) {
379 throw new org.apache.storm.thrift.protocol.TProtocolException("Required field 'common' is unset! Struct:" + toString());
380 }
381
382 // check for sub-struct validity
383 if (common != null) {
384 common.validate();
385 }
386 }
387
388 private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
389 try {

Callers

nothing calls this directly

Calls 4

is_set_bolt_objectMethod · 0.95
toStringMethod · 0.95
is_set_commonMethod · 0.95
validateMethod · 0.65

Tested by

no test coverage detected