Class Argument

    • Field Detail

      • description

        protected java.lang.String description
        The description.
    • Constructor Detail

      • Argument

        public Argument()
        Create a new argument.
      • Argument

        public Argument​(java.lang.String name,
                        java.lang.String description,
                        java.lang.String classname,
                        java.lang.String defaultvalue)
        Create a new argument.
    • Method Detail

      • getDescription

        public java.lang.String getDescription()
        Get the description.
        Specified by:
        getDescription in interface IArgument
        Returns:
        The description.
      • setDescription

        public void setDescription​(java.lang.String description)
        Set the description.
        Parameters:
        description - The description to set.
      • validate

        public boolean validate​(java.lang.String input)
        Check the validity of an input.
        Specified by:
        validate in interface IArgument
        Parameters:
        input - The input.
        Returns:
        True, if valid.
      • toString

        public java.lang.String toString()
        Get the string representation.
        Overrides:
        toString in class UnparsedExpression
        Returns:
        The string representation.
      • getResult

        public static java.lang.Object getResult​(java.util.Collection<Tuple2<java.lang.String,​java.lang.Object>> results,
                                                 java.lang.String name)
        Get a specific result from a result collection.
      • convertArguments

        public static java.util.Map<java.lang.String,​java.lang.Object> convertArguments​(java.util.Collection<Tuple2<java.lang.String,​java.lang.Object>> results)
        Convert arguments to argument map.