com.atlassian.jira.util
Class ImportUtils
java.lang.Object
com.atlassian.jira.util.ImportUtils
- public class ImportUtils
- extends Object
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.
- See Also:
BugzillaImportBean
,
MantisImportBean
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImportUtils
public ImportUtils()
setSubvertSecurityScheme
public static void setSubvertSecurityScheme(boolean subvert)
- Whether to subvert the security scheme or not. This is done on a thread local basis, so the subversion
only occurs for this thread / request.
Other classes may alter their behaviour based on the value you pass.
- Parameters:
subvert
- Whether to subvert the scheme or not.- See Also:
ManagerFactory.getPermissionManager()
isSubvertSecurityScheme
public static boolean isSubvertSecurityScheme()
setIndexIssues
public static void setIndexIssues(boolean index)
setEnableNotifications
public static void setEnableNotifications(boolean enable)
isEnableNotifications
public static boolean isEnableNotifications()
isIndexIssues
public static boolean isIndexIssues()
stripHTMLStrings
public static String stripHTMLStrings(String str)
- Remove any HTML from text contents.
- Parameters:
str
- Text with HTML (eg <a href="...">..</a> links).
- Returns:
- str without HTML
Copyright © 2002-2007 Atlassian. All Rights Reserved.