code: public Object getParent(Object element) {
      if (element instanceof HadoopServer) {
        return CONTENT_ROOT;
  
      } else if (element instanceof HadoopJob) {
        return ((HadoopJob) element).getLocation();
      }
  
      return null;
    }
docs: /* @inheritDoc