java.lang.Object
org.wildfly.test.security.common.elytron.Path
All Implemented Interfaces:
CliFragment

public class Path extends Object implements CliFragment
Helper class for adding "path" and "relative-to" attributes into CLI commands.
Author:
Josef Cacek
  • Field Details

    • EMPTY

      public static final Path EMPTY
  • Method Details

    • getPath

      public String getPath()
    • getRelativeTo

      public String getRelativeTo()
    • asString

      public String asString()
      Generates part of CLI string in form "[path=..., [relative-to=..., ]"
      Specified by:
      asString in interface CliFragment
      Returns:
      part of CLI command
    • builder

      public static Path.Builder builder()
      Creates builder to build Path.
      Returns:
      created builder