Class GluePath

java.lang.Object
io.cucumber.core.feature.GluePath

public final class GluePath extends Object
The glue path is a class path URI to a package.

The glue path can be written as either a package name: com.example.app, a path com/example/app or uri classpath:com/example/app.

On file system with a path separator other then `/` com\example\app is also a valid glue path.

It is recommended to always use the package name form.

  • Field Details

    • log

      private static final Logger log
    • WELL_KNOWN_PROJECT_SOURCE_DIRECTORIES

      private static final Pattern WELL_KNOWN_PROJECT_SOURCE_DIRECTORIES
  • Constructor Details

    • GluePath

      private GluePath()
  • Method Details

    • parse

      public static URI parse(String gluePath)
    • nonStandardPathSeparatorInUse

      private static boolean nonStandardPathSeparatorInUse(String featureIdentifier)
    • replaceNonStandardPathSeparator

      private static String replaceNonStandardPathSeparator(String featureIdentifier)
    • parseAssumeClasspathScheme

      private static URI parseAssumeClasspathScheme(String gluePath)
    • warnWhenWellKnownProjectSourceDirectory

      private static void warnWhenWellKnownProjectSourceDirectory(String gluePath)
    • isProbablyPackage

      private static boolean isProbablyPackage(String gluePath)
    • isValidIdentifier

      private static boolean isValidIdentifier(String schemeSpecificPart)