com.almworks.jira.structure.api.util.Limits Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of structure-api Show documentation
Show all versions of structure-api Show documentation
Public API for the Structure Plugin for JIRA
The newest version!
package com.almworks.jira.structure.api.util;
public final class Limits {
/**
* Safe String limit imposed by the databases. See AOUtil.java
*/
private static final int MAGIC = 190;
public static final int MAX_MODULE_KEY_LENGTH = MAGIC;
public static final int MAX_ITEM_STRING_ID_LENGTH = MAGIC;
public static final int NODEID_MAX_LENGTH = MAGIC;
public static final int MAX_SPEC_ID_LENGTH = MAGIC;
public static final int MAX_NAME_LENGTH = MAGIC;
public static final int MAX_USER_KEY_LENGTH = MAGIC;
public static final int MAX_PATH_LENGTH = MAGIC;
private Limits() {}
}