|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.util.ImportUtils
public class ImportUtils
Utility code originally written to support various importers. Contains methods for bypassing security schemes, reindexing issues, creating new issue types, resolutions, custom fields, and various other useful bits of code.
BugzillaImportBean
,
MantisImportBean
Method Summary | |
---|---|
(package private) static void |
close(PreparedStatement ps,
ResultSet rs)
|
(package private) static void |
closePS(PreparedStatement ps)
|
(package private) static void |
closeRS(ResultSet rs)
|
(package private) static Set |
getNonExistentUsers(Set users)
This method will determine all the users that will need to exist in JIRA to successfully import the specified projects and will return the users that do not yet exist. |
(package private) static String |
getSQLTokens(String[] names)
Generate SQL-friendly comma-separated list of ?'s. |
static boolean |
isEnableNotifications()
|
static boolean |
isIndexIssues()
|
static boolean |
isSubvertSecurityScheme()
|
static void |
setEnableNotifications(boolean enable)
|
static void |
setIndexIssues(boolean index)
|
static void |
setSubvertSecurityScheme(boolean subvert)
Whether to subvert the security scheme or not. |
static String |
stripHTMLStrings(String str)
Remove any HTML from text contents. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void setSubvertSecurityScheme(boolean subvert)
subvert
- Whether to subvert the scheme or not.ManagerFactory.getPermissionManager()
public static boolean isSubvertSecurityScheme()
public static void setIndexIssues(boolean index)
public static void setEnableNotifications(boolean enable)
public static boolean isEnableNotifications()
public static boolean isIndexIssues()
public static String stripHTMLStrings(String str)
str
- Text with HTML (eg <a href="...">..</a> links).
static Set getNonExistentUsers(Set users)
users
- a Set static String getSQLTokens(String[] names)
static void close(PreparedStatement ps, ResultSet rs)
static void closePS(PreparedStatement ps)
static void closeRS(ResultSet rs)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |