code: @Override
      public File exportExploded(File baseDirectory, String directoryName) {
          final Archive<?> archive = this.getArchive();
          Validate.notNull(archive, "No archive provided");
          Validate.notNull(baseDirectory, "No baseDirectory provided");
  
          // Directory must exist
          if (!baseDirectory.exists()) {
              throw new IllegalArgumentException("Parent directory does not exist");
          }
          // Must be a directory
          if (!baseDirectory.isDirectory()) {
              throw new IllegalArgumentException("Provided parent directory is not a valid directory");
          }
  
          return export(archive, new File(baseDirectory, directoryName));
      }
docs: {@inheritDoc}
  
  @see org.jboss.shrinkwrap.api.exporter.ExplodedExporter#exportExploded(java.io.File, java.lang.String)