Annotation Type MultiFileSize

    • Field Summary

      Fields 
      Modifier and Type Fields Description
      static String MESSAGE_MAX_ONLY
      Message that should be used when you only set a maximum count.
      static String MESSAGE_MIN_ONLY
      Message that should be used when you only set a minimum count.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      Class<?>[] groups  
      int max
      Maximum number of files that need to be selected.
      String message  
      int min
      Minimum number of files that need to be selected.
      Class<? extends javax.validation.Payload>[] payload  
    • Field Detail

      • MESSAGE_MAX_ONLY

        static final String MESSAGE_MAX_ONLY
        Message that should be used when you only set a maximum count.
      • MESSAGE_MIN_ONLY

        static final String MESSAGE_MIN_ONLY
        Message that should be used when you only set a minimum count.
    • Element Detail

      • groups

        Class<?>[] groups
        Returns:
        Allows the specification of validation groups, to which this constraint belongs. When not specified, the constraint is placed in the Default group.
        Default:
        {}
      • max

        int max
        Maximum number of files that need to be selected.
        Default:
        2147483647
      • message

        String message
        Returns:
        The default key for creating error messages in case the constraint is violated.
        Default:
        "{de.xima.fc.workflow.validation.constraints.MultiFileSize.message}"
      • min

        int min
        Minimum number of files that need to be selected.
        Default:
        0
      • payload

        Class<? extends javax.validation.Payload>[] payload
        Returns:
        The payload that can be used by clients of the Jakarta Bean Validation API to assign custom payload objects to a constraint.
        Default:
        {}