Class ConnectToJiraAction
- java.lang.Object
-
- com.opensymphony.xwork2.ActionSupport
-
- com.atlassian.confluence.core.ConfluenceActionSupport
-
- com.atlassian.confluence.setup.actions.AbstractSetupAction
-
- com.atlassian.confluence.setup.actions.ConnectToJiraAction
-
- All Implemented Interfaces:
WebInterface
,MessageHolderAware
,com.opensymphony.xwork2.Action
,com.opensymphony.xwork2.interceptor.ValidationAware
,com.opensymphony.xwork2.LocaleProvider
,com.opensymphony.xwork2.TextProvider
,com.opensymphony.xwork2.Validateable
,Serializable
public class ConnectToJiraAction extends AbstractSetupAction
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.atlassian.confluence.setup.actions.AbstractSetupAction
DEMO_CONTENT_ZIP_FILE, SETUP_CLUSTER, SETUP_CLUSTER_TO_STANDALONE, SETUP_CONTENT_BLANK, SETUP_CONTENT_DEMO, SETUP_CONTENT_IMPORT, SETUP_CUSTOM, SETUP_DB_CLUSTER_CONN_TYPE, SETUP_DB_CONN_TYPE, SETUP_DB_DATASOURCE, SETUP_DB_EMBEDDED, SETUP_DB_STANDARD, SETUP_DB_TYPE_DATASOURCE, SETUP_DB_TYPE_STANDARD, SETUP_PATHS, SETUP_QUICK, SETUP_SESSION_ID_KEY, SETUP_SKIP_TO_NEXT_STEP, SETUP_SKIP_TO_NEXT_STEP_CLUSTER, SETUP_USER_INTERNAL, SETUP_USER_JAACS
-
Fields inherited from class com.atlassian.confluence.core.ConfluenceActionSupport
accessModeService, CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, messageHolder, permissionManager, permitted, personService, pluginAccessor, PREVIEW, settingsManager, systemInformationService, userAccessor, webInterfaceManager
-
-
Constructor Summary
Constructors Constructor Description ConnectToJiraAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
execute()
com.atlassian.applinks.spi.link.MutatingApplicationLinkService
getApplinkApplicationLink()
com.atlassian.applinks.host.spi.HostApplication
getApplinkHostApplication()
com.atlassian.applinks.spi.manifest.ManifestRetriever
getApplinkManifestRetriever()
com.atlassian.applinks.spi.util.TypeAccessor
getApplinkTypeAccessor()
String
getConfluenceBaseUrl()
String
getCrowdApplicationName()
String
getCrowdApplicationPassword()
com.atlassian.crowd.embedded.api.CrowdDirectoryService
getCrowdDirectoryService()
String
getJiraAdminGroups()
String
getJiraBaseUrl()
String
getJiraUserGroups()
String
getPassword()
String
getUsername()
boolean
isApplinkAndCrowdReady()
void
setApplinkAndCrowdReady(boolean applinkAndCrowdReady)
void
setApplinkApplicationLink(com.atlassian.applinks.spi.link.MutatingApplicationLinkService applinkApplicationLink)
void
setApplinkHostApplication(com.atlassian.applinks.host.spi.HostApplication applinkHostApplication)
void
setApplinkManifestRetriever(com.atlassian.applinks.spi.manifest.ManifestRetriever applinkManifestRetriever)
void
setApplinkTypeAccessor(com.atlassian.applinks.spi.util.TypeAccessor applinkTypeAccessor)
void
setConfluenceBaseUrl(String confluenceBaseUrl)
void
setCrowdApplicationName(String crowdApplicationName)
void
setCrowdApplicationPassword(String crowdApplicationPassword)
void
setCrowdDirectoryManager(com.atlassian.crowd.manager.directory.DirectoryManager directoryManager)
void
setCrowdDirectoryService(com.atlassian.crowd.embedded.api.CrowdDirectoryService crowdDirectoryService)
void
setEmbeddedCrowdBootstrap(EmbeddedCrowdBootstrap embeddedCrowdBootstrap)
void
setJiraAdminGroups(String adminGroups)
void
setJiraBaseUrl(String jiraBaseUrl)
void
setJiraUserGroups(String userGroups)
void
setPassword(String password)
void
setSpacePermissionManager(SpacePermissionManager spacePermissionManager)
void
setUsername(String username)
void
validate()
-
Methods inherited from class com.atlassian.confluence.setup.actions.AbstractSetupAction
bootstrapConfigurer, getBootstrapManager, getContainerManager, getLocale, getServerId, getSetupPersister, getSetupSessionId, getSingletonFromMainContext, getSupportEntitlementNumber, getXsrfToken, getXsrfTokenGenerator, isPermitted, retrieveSingletonFromMainContext, setBootstrapConfigurer, setBootstrapSidManager, setContainerManager, setLicenseService, setSetupPersister, setXsrfTokenGenerator, transitionFromColdToTenantedState, transitionFromColdToVacantState, transitionFromVacantToTenantedState
-
Methods inherited from class com.atlassian.confluence.core.ConfluenceActionSupport
addActionError, addActionMessage, addFieldError, addPermissionTypeTo, addToHistory, doDefault, formatFriendlyDate, getAccessMode, getActionName, getActionName, getAuthenticatedUser, getBootstrapStatusProvider, getCancel, getCancelResult, getConfluenceAccessManager, getContentUiSupport, getContext, getCurrentRequest, getCurrentSession, getDateFormatSetting, getDateFormatter, getDefaultResourceBundle, getDefaultTimeZone, getDocBean, getDocLink, getEventManager, getFriendlyDateFormatter, getFrontendServiceURL, getGlobalSettings, getHelper, getI18n, getInstalledLanguages, getLabelManager, getLanguageJs, getLanguageManager, getLanguageUserFriendly, getLocaleManager, getLocaleString, getMessageHolder, getNiceContentType, getPermissionManager, getPermissionTypes, getPermittedEntitiesOf, getPermittedEntitiesOf, getPermittedEntitiesOf, getPersonService, getPreviousLoginDate, getRemoteUser, getSession, getSystemInformationService, getText, getText, getText, getText, getText, getText, getText, getText, getTextStatic, getTextStatic, getTextStrict, getTimeZone, getUserAccessor, getUserByName, getUserFullName, getUserHasBrowseUsersPermission, getUserHasLicensedAccess, getUserInterfaceState, getUserLocaleDefaultDatePattern, getUserProfilePicUrl, getWebInterfaceContext, getWebInterfaceManager, hasPermissionForSpace, isAnonymousUser, isCanceled, isDevMode, isEmailVisible, isExternalUserManagementEnabled, isLabelable, isPrintableVersion, isSkipAccessCheck, isUserStatusPluginEnabled, isUsingH2, isUsingHSQL, setAccessModeService, setApiDateFormatService, setApiPersonService, setBootstrapManager, setCancel, setConfluenceAccessManager, setContentUiSupport, setEventManager, setFormatSettingsManager, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setLoginManager, setMessageHolder, setPermissionManager, setPluginAccessor, setPreviousLoginDate, setServletRequestSupplier, setSettingsManager, setSystemInformationService, setTimeZoneManager, setUserAccessor, setWebInterfaceManager, useSkipAccessCheck, withServletRequestSupplier
-
Methods inherited from class com.opensymphony.xwork2.ActionSupport
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, getActionErrors, getActionMessages, getContainer, getFieldErrors, getFormatted, getLocaleProvider, getText, getText, getTextProvider, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, isValidLocale, isValidLocaleString, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors
-
-
-
-
Method Detail
-
validate
public void validate()
- Specified by:
validate
in interfaceMessageHolderAware
- Specified by:
validate
in interfacecom.opensymphony.xwork2.Validateable
- Overrides:
validate
in classcom.opensymphony.xwork2.ActionSupport
-
execute
public String execute() throws Exception
- Specified by:
execute
in interfacecom.opensymphony.xwork2.Action
- Overrides:
execute
in classcom.opensymphony.xwork2.ActionSupport
- Throws:
Exception
-
setConfluenceBaseUrl
public void setConfluenceBaseUrl(String confluenceBaseUrl)
-
getConfluenceBaseUrl
public String getConfluenceBaseUrl()
-
getApplinkManifestRetriever
public com.atlassian.applinks.spi.manifest.ManifestRetriever getApplinkManifestRetriever()
-
setApplinkManifestRetriever
public void setApplinkManifestRetriever(com.atlassian.applinks.spi.manifest.ManifestRetriever applinkManifestRetriever)
-
getApplinkApplicationLink
public com.atlassian.applinks.spi.link.MutatingApplicationLinkService getApplinkApplicationLink()
-
setApplinkApplicationLink
public void setApplinkApplicationLink(com.atlassian.applinks.spi.link.MutatingApplicationLinkService applinkApplicationLink)
-
getApplinkTypeAccessor
public com.atlassian.applinks.spi.util.TypeAccessor getApplinkTypeAccessor()
-
setApplinkTypeAccessor
public void setApplinkTypeAccessor(com.atlassian.applinks.spi.util.TypeAccessor applinkTypeAccessor)
-
getJiraBaseUrl
public String getJiraBaseUrl()
-
setJiraBaseUrl
public void setJiraBaseUrl(String jiraBaseUrl)
-
getUsername
public String getUsername()
-
setUsername
public void setUsername(String username)
-
getPassword
public String getPassword()
-
setPassword
public void setPassword(String password)
-
getApplinkHostApplication
public com.atlassian.applinks.host.spi.HostApplication getApplinkHostApplication()
-
setApplinkHostApplication
public void setApplinkHostApplication(com.atlassian.applinks.host.spi.HostApplication applinkHostApplication)
-
getCrowdDirectoryService
public com.atlassian.crowd.embedded.api.CrowdDirectoryService getCrowdDirectoryService()
-
setCrowdDirectoryService
public void setCrowdDirectoryService(com.atlassian.crowd.embedded.api.CrowdDirectoryService crowdDirectoryService)
-
setCrowdDirectoryManager
public void setCrowdDirectoryManager(com.atlassian.crowd.manager.directory.DirectoryManager directoryManager)
-
setSpacePermissionManager
public void setSpacePermissionManager(SpacePermissionManager spacePermissionManager)
- Overrides:
setSpacePermissionManager
in classConfluenceActionSupport
-
setEmbeddedCrowdBootstrap
public void setEmbeddedCrowdBootstrap(EmbeddedCrowdBootstrap embeddedCrowdBootstrap)
-
getJiraUserGroups
public String getJiraUserGroups()
-
getJiraAdminGroups
public String getJiraAdminGroups()
-
setJiraUserGroups
public void setJiraUserGroups(String userGroups)
-
setJiraAdminGroups
public void setJiraAdminGroups(String adminGroups)
-
isApplinkAndCrowdReady
public boolean isApplinkAndCrowdReady()
-
setApplinkAndCrowdReady
public void setApplinkAndCrowdReady(boolean applinkAndCrowdReady)
-
getCrowdApplicationName
public String getCrowdApplicationName()
-
setCrowdApplicationName
public void setCrowdApplicationName(String crowdApplicationName)
-
getCrowdApplicationPassword
public String getCrowdApplicationPassword()
-
setCrowdApplicationPassword
public void setCrowdApplicationPassword(String crowdApplicationPassword)
-
-