package de.retest.recheck.configuration;

import static de.retest.recheck.RecheckProperties.RETEST_FOLDER_NAME;

import java.nio.file.Path;
import java.util.Optional;

public class ProjectConfigurationUtil {

	private ProjectConfigurationUtil() {}

	public static Optional<Path> findProjectConfigurationFolder() {
		return ProjectRootFinderUtil.getProjectRoot().map( path -> path.resolve( RETEST_FOLDER_NAME ) );
	}

	public static Optional<Path> findProjectConfigurationFolder( final Path basePath ) {
		return ProjectRootFinderUtil.getProjectRoot( basePath ).map( path -> path.resolve( RETEST_FOLDER_NAME ) );
	}
}

@@ -607,11 +607,150 @@
  ) );%0A%09%7D
+%0A%0A%09public static Optional%3CPath%3E findSuiteConfigurationFolder( final Path basePath ) %7B%0A%09%09return Optional.of( basePath.toAbsolutePath() );%0A%09%7D
 %0A%7D%0A

Add method to return optional path from absolute path of suite ignore