Class ArgumentResolution


  • public class ArgumentResolution
    extends Object
    Class dedicated to resolving Argument, which is a complex object used to represent most parameters of instruction.
    • Method Detail

      • of

        public static ArgumentResolution of​(@Nullable
                                            Argument argument)
        Main method of the class, the point of entry to resolve Argument in order to exploit the result in checks. In docker, most instruction can expect one or even multiple arguments, which can be a mix of strings, quotes string with spaces, variable reference with or without modifier, ect. This method will provide an ArgumentResolution object with the result of the tentative of resolution: the status and the String value.
      • value

        public String value()
      • isResolved

        public boolean isResolved()
      • isUnresolved

        public boolean isUnresolved()
      • isEmpty

        public boolean isEmpty()