Class ParameterTypeDuration

    • Constructor Detail

      • ParameterTypeDuration

        public ParameterTypeDuration​(java.lang.String id,
                                     java.lang.String description)
        Construct a new ParameterTypeDuration without default value and check.
        Parameters:
        id - String; short name of the new ParameterTypeDuration
        description - String; parameter description or full name of the new ParameterTypeDuration
      • ParameterTypeDuration

        public ParameterTypeDuration​(java.lang.String id,
                                     java.lang.String description,
                                     Duration defaultValue)
        Construct a new ParameterTypeDuration with default value, without check.
        Parameters:
        id - String; short name of the new ParameterTypeDuration
        description - String; parameter description or full name of the new ParameterTypeDuration
        defaultValue - Duration; the default value for the new ParameterTypeDuration
      • ParameterTypeDuration

        public ParameterTypeDuration​(java.lang.String id,
                                     java.lang.String description,
                                     Constraint<? super Duration> constraint)
        Construct a new ParameterTypeDuration without default value, with check.
        Parameters:
        id - String; short name of the new ParameterTypeDuration
        description - String; parameter description or full name of the new ParameterTypeDuration
        constraint - Constraint<? super Duration>; Constraint for parameter values
      • ParameterTypeDuration

        public ParameterTypeDuration​(java.lang.String id,
                                     java.lang.String description,
                                     Duration defaultValue,
                                     Constraint<? super Duration> constraint)
        Construct a new ParameterTypeDuration with default value and check.
        Parameters:
        id - String; short name of the new ParameterTypeDuration
        description - String; parameter description or full name of the new ParameterTypeDuration
        defaultValue - Duration; Default value of the new ParameterTypeDuration
        constraint - Constraint<? super Duration>; Constraint for parameter values