public boolean matchType(Properties jobProp) {
    // Always return false if confName/confPattern is undefined,
    // which means we cannot tell if the properties are matching the pattern
    if (_confName == null || _confPattern == null) {
      return false;
    }

    return jobProp.containsKey(_confName) && _confPattern.matcher((String) jobProp.get(_confName)).matches();
  }
Check if a JobType matches a property

@param jobProp The properties to match
@return true if matched else false
app/com/linkedin/drelephant/analysis/JobType.java