Class PathParameterType


  • public class PathParameterType
    extends ParameterType<String>
    This class represent a parameter type that is a path to either a directory or a file. This parameter type should be used when a plugin needs to ask for a directory or file to save it's output.
    Version:
    2.0
    Author:
    Nicklas
    Last modified
    $Date: 2012-09-14 09:28:35 +0200 (fr, 14 sep 2012) $
    • Field Detail

    • Constructor Detail

      • PathParameterType

        public PathParameterType​(Path.Type pathType)
        Create a new optional path parameter type.
        Parameters:
        pathType - If the path is to a directory or file
      • PathParameterType

        public PathParameterType​(Path.Type pathType,
                                 String defaultValue,
                                 boolean notNull)
        Create a new path parameter type.
        Parameters:
        pathType - If the path is to a directory or file
        defaultValue - The default value of this parameter
        notNull - FALSE if nulls values are allowed, TRUE otherwise
      • PathParameterType

        public PathParameterType​(Path.Type pathType,
                                 String defaultValue,
                                 boolean notNull,
                                 int multiplicity,
                                 int width,
                                 int height,
                                 List<String> items)