Class Fields


  • public class Fields
    extends Object
    • Field Detail

      • COOKIE_USER

        public static final String COOKIE_USER
        The Constant COOKIE_USER. Stores serialized user data on the client
        See Also:
        Constant Field Values
      • COOKIE_WORKSPACE_HISTORY

        public static final String COOKIE_WORKSPACE_HISTORY
        The Constant COOKIE_WORKSPACE_HISTORY
        See Also:
        Constant Field Values
      • STORAGE

        public static File STORAGE
        The Constant STORAGE.
      • SETTINGS_FILE

        public static File SETTINGS_FILE
      • FILENAME_BLACKLIST

        public static final Set<String> FILENAME_BLACKLIST
        Blacklist of file names
      • COOKIE_AGE

        public static final int COOKIE_AGE
        The Constant COOKIE_AGE.
        See Also:
        Constant Field Values
      • STORAGE_AGE

        public static final long STORAGE_AGE
        minimum time after that the settings should be stored in ms
        See Also:
        Constant Field Values
      • DEFAULT_BUFFER_SIZE

        public static final int DEFAULT_BUFFER_SIZE
        default buffer size for copying stuff
        See Also:
        Constant Field Values
      • LOCK_ARCHIVE_TIMEOUT

        public static final long LOCK_ARCHIVE_TIMEOUT
        Timeout for locks on archives
        See Also:
        Constant Field Values
      • SEDML_WEBTOOLS_URL

        public static String SEDML_WEBTOOLS_URL
        Link to the sedML WebTools for starting a simulation
      • FEEDBACK_URL

        public static String FEEDBACK_URL
        Link to a feedback form
      • STATS_MAX_AGE

        public static long STATS_MAX_AGE
        max time for caching statistic data
      • STATS_PUBLIC

        public static boolean STATS_PUBLIC
        switch the open stats page on or off, also limits the access to the rest-endpoint, when set to false
      • STATS_SECRET

        public static String STATS_SECRET
        is set to something != null, it enables the full access to all stats, when added as URL-Parameter
      • CURRENT_VERSION

        public static String CURRENT_VERSION
        current version of webCAT, automatically read from src/main/resources/version.pref and set via maven resource filtering
      • CURRENT_VERSION_IS_RELEASE

        public static boolean CURRENT_VERSION_IS_RELEASE
        determines, if current build is a release build. see CURRENT_VERSION
      • ALLOW_SHARING_HISTORY

        public static boolean ALLOW_SHARING_HISTORY
        allows to share the entire workspace history, this does not effect the UI, but enables the /share/history endpoint, which is used by the migration PHP script. Disabled by default.
      • QUOTA_UNLIMITED

        public static final long QUOTA_UNLIMITED
        Value for unlimited quota. Not a quota by itself
        See Also:
        Constant Field Values
      • QUOTA_TOTAL_SIZE

        public static long QUOTA_TOTAL_SIZE
        Maximum size in bytes of all workspaces together. 0 means unlimited
      • QUOTA_WORKSPACE_SIZE

        public static long QUOTA_WORKSPACE_SIZE
        Maximum size in bytes of all archives in one workspaces together. 0 means unlimited
      • QUOTA_WORKSPACE_AGE

        public static long QUOTA_WORKSPACE_AGE
        Maximum time in seconds a workspace can be left unused, before deletion. 0 means unlimited
      • QUOTA_ARCHIVE_SIZE

        public static long QUOTA_ARCHIVE_SIZE
        Maximum size of one archive in bytes. 0 means unlimited
      • QUOTA_ARCHIVE_LIMIT

        public static long QUOTA_ARCHIVE_LIMIT
        Maximum number of archives in a workspace. 0 means unlimited
      • QUOTA_FILE_LIMIT

        public static long QUOTA_FILE_LIMIT
        Maximum number of files in an archive. 0 means unlimited
      • QUOTA_UPLOAD_SIZE

        public static long QUOTA_UPLOAD_SIZE
        Maximum file size for uploads. 0 means unlimited
    • Constructor Detail

      • Fields

        public Fields()
    • Method Detail

      • loadSettingsFromContext

        public static void loadSettingsFromContext​(javax.servlet.ServletContext context)