Class AvatarMultipartConfig

java.lang.Object
com.atlassian.bamboo.plugins.rest.common.avatar.AvatarMultipartConfig
All Implemented Interfaces:
com.atlassian.plugins.rest.api.multipart.MultipartConfig

public class AvatarMultipartConfig extends Object implements com.atlassian.plugins.rest.api.multipart.MultipartConfig
Configures the maximum file size allowed when uploading project and user avatars.
Since:
9.4
  • Field Summary

    Fields inherited from interface com.atlassian.plugins.rest.api.multipart.MultipartConfig

    DEFAULT_REQUEST_PART_LIMIT, NO_LIMIT
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    long
     
    long
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.atlassian.plugins.rest.api.multipart.MultipartConfig

    getMaxFileCount
  • Constructor Details

    • AvatarMultipartConfig

      public AvatarMultipartConfig()
  • Method Details

    • getMaxFileSize

      public long getMaxFileSize()
      Specified by:
      getMaxFileSize in interface com.atlassian.plugins.rest.api.multipart.MultipartConfig
    • getMaxSize

      public long getMaxSize()
      Specified by:
      getMaxSize in interface com.atlassian.plugins.rest.api.multipart.MultipartConfig