com.atlassian.jira.web.action.admin.vcs
Class RepositoryActionSupport

java.lang.Object
  extended by webwork.action.ActionSupport
      extended by com.atlassian.jira.action.JiraActionSupport
          extended by com.atlassian.jira.web.action.JiraWebActionSupport
              extended by com.atlassian.jira.web.action.admin.vcs.RepositoryActionSupport
All Implemented Interfaces:
ErrorCollection, I18nHelper, java.io.Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware
Direct Known Subclasses:
AddRepository, DeleteRepository, RepositoryTest, UpdateRepository

public class RepositoryActionSupport
extends JiraWebActionSupport

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.atlassian.jira.util.I18nHelper
I18nHelper.BeanFactory
 
Field Summary
protected  java.lang.Long id
           
 
Fields inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
ISSUE_NOT_FOUND_RESULT, PERMISSION_VIOLATION_RESULT, request, RETURN_URL_PARAMETER, savedFilters
 
Fields inherited from class com.atlassian.jira.action.JiraActionSupport
log
 
Fields inherited from class webwork.action.ActionSupport
command, errorMap, errorMessages
 
Fields inherited from interface webwork.action.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
RepositoryActionSupport(RepositoryManager repositoryManager, CvsRepositoryUtil cvsRepositoryUtil)
           
 
Method Summary
protected  java.lang.String checkRepository(java.lang.String repositoryName, java.lang.String logFilePath, java.lang.String cvsRoot, java.lang.String moduleName, java.lang.String password, long cvsTimeout, boolean fetchLog)
           
 java.lang.String doDefault()
           
 java.lang.String doView()
           
protected  CvsRepositoryUtil getCvsRepositoryUtil()
           
 java.lang.String getCvsRoot()
           
 java.lang.String getDescription()
           
 java.lang.Long getId()
           
 java.lang.String getLogFilePath()
           
 java.lang.String getModuleName()
           
 java.lang.String getName()
           
protected  java.lang.String getPassword()
           
 java.lang.String getRepositoryBrowserRootParam()
           
 java.lang.String getRepositoryBrowserURL()
           
protected  RepositoryManager getRepositoryManager()
           
 java.lang.String getTimeout()
           
 long getTimeoutMillis()
           
 java.lang.String getType()
           
 java.lang.String[] getTypes()
           
 boolean isFetchLog()
           
 void setCvsRoot(java.lang.String cvsRoot)
           
 void setDescription(java.lang.String description)
           
 void setFetchLog(boolean fetchLog)
           
 void setId(java.lang.Long id)
           
 void setLogFilePath(java.lang.String logFilePath)
           
 void setModuleName(java.lang.String moduleName)
           
 void setName(java.lang.String name)
           
 void setPassword(java.lang.String password)
           
 void setRepositoryBrowserRootParam(java.lang.String repositoryBrowserRootParam)
           
 void setRepositoryBrowserURL(java.lang.String repositoryBrowserURL)
           
 void setTimeout(java.lang.String timeout)
           
 void setType(java.lang.String type)
           
protected  void testRepository(java.lang.String repositoryName, java.lang.String logFilePath, java.lang.String cvsRoot, java.lang.String moduleName, java.lang.String password, long cvsTimeout, boolean fetchLog)
           
 void validateRepositoryParameters()
           
 
Methods inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
addErrorCollection, addErrorMessageByKeyIfAbsent, addErrorMessageIfAbsent, forceRedirect, getApplicationProperties, getAssignableUsers, getAssignableUsers, getCachedGroups, getComponentManager, getConglomerateCookieValue, getConstantsManager, getDateFormat, getDateTimeFormat, getDescTranslation, getExternalLinkUtils, getField, getFlushedErrorMessages, getGlobalPermissionManager, getHint, getHintManager, getJiraServiceContext, getLanguage, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getPropertySet, getRandomHint, getRedirect, getRemoteUser, getReturnUrl, getReturnUrlForCancelLink, getSearchSortDescriptions, getSelectedProject, getSelectedProjectObject, getServerId, getText, getTimeFormat, getUriValidator, getUserFullName, getUserProjectHistoryManager, getVersionManager, getWebworkStack, getWebworkStack, getXsrfToken, hasErrorMessage, hasErrorMessageByKey, htmlEncode, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, isInlineDialogMode, isSystemAdministrator, isUserExists, returnComplete, returnComplete, returnCompleteWithInlineRedirect, setConglomerateCookieValue, setInline, setReturnUrl, setSelectedProjectId
 
Methods inherited from class com.atlassian.jira.action.JiraActionSupport
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getDefaultResourceBundle, getDelegator, getKeysForPrefix, getLocale, getResult, getText, getText, getText, getText, getText, getText, getText, getText, getText0, getUnescapedText, getUserPreferences, getWatcherManager, hasAnyErrors, isEnterprise, isIndexing, isProfessional, isProfessionalOrEnterprise, isStandard, removeKeyOrAddError
 
Methods inherited from class webwork.action.ActionSupport
addError, addErrorMessage, doExecute, doValidation, getCommandName, getErrorMessages, getErrors, getHasErrorMessages, getHasErrors, getPropertyEditorMessage, getTexts, getTexts, getTimezone, invalidInput, invokeCommand, isCommand, setCommand, setErrorMessages, setErrors, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.jira.util.ErrorCollection
addError, addErrorMessage, addErrorMessages, addErrors, getErrorMessages, getErrors, hasAnyErrors, setErrorMessages
 
Methods inherited from interface webwork.action.CommandDriven
getCommandName, setCommand
 

Field Detail

id

protected java.lang.Long id
Constructor Detail

RepositoryActionSupport

public RepositoryActionSupport(RepositoryManager repositoryManager,
                               CvsRepositoryUtil cvsRepositoryUtil)
Method Detail

doView

public java.lang.String doView()

doDefault

public java.lang.String doDefault()
                           throws java.lang.Exception
Overrides:
doDefault in class webwork.action.ActionSupport
Throws:
java.lang.Exception

getId

public java.lang.Long getId()

setId

public void setId(java.lang.Long id)

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getDescription

public java.lang.String getDescription()

setDescription

public void setDescription(java.lang.String description)

getType

public java.lang.String getType()

setType

public void setType(java.lang.String type)

getTypes

public java.lang.String[] getTypes()

getPassword

protected java.lang.String getPassword()

setPassword

public void setPassword(java.lang.String password)

getLogFilePath

public java.lang.String getLogFilePath()

setLogFilePath

public void setLogFilePath(java.lang.String logFilePath)

getCvsRoot

public java.lang.String getCvsRoot()

setCvsRoot

public void setCvsRoot(java.lang.String cvsRoot)

getModuleName

public java.lang.String getModuleName()

setModuleName

public void setModuleName(java.lang.String moduleName)

isFetchLog

public boolean isFetchLog()

setFetchLog

public void setFetchLog(boolean fetchLog)

getRepositoryBrowserURL

public java.lang.String getRepositoryBrowserURL()

setRepositoryBrowserURL

public void setRepositoryBrowserURL(java.lang.String repositoryBrowserURL)

getRepositoryBrowserRootParam

public java.lang.String getRepositoryBrowserRootParam()

setRepositoryBrowserRootParam

public void setRepositoryBrowserRootParam(java.lang.String repositoryBrowserRootParam)

getRepositoryManager

protected RepositoryManager getRepositoryManager()

getTimeout

public java.lang.String getTimeout()

getTimeoutMillis

public long getTimeoutMillis()

setTimeout

public void setTimeout(java.lang.String timeout)

checkRepository

protected java.lang.String checkRepository(java.lang.String repositoryName,
                                           java.lang.String logFilePath,
                                           java.lang.String cvsRoot,
                                           java.lang.String moduleName,
                                           java.lang.String password,
                                           long cvsTimeout,
                                           boolean fetchLog)

testRepository

protected void testRepository(java.lang.String repositoryName,
                              java.lang.String logFilePath,
                              java.lang.String cvsRoot,
                              java.lang.String moduleName,
                              java.lang.String password,
                              long cvsTimeout,
                              boolean fetchLog)
                       throws org.netbeans.lib.cvsclient.connection.AuthenticationException,
                              java.io.IOException,
                              org.netbeans.lib.cvsclient.command.CommandException,
                              net.sf.statcvs.input.LogSyntaxException,
                              LockException
Throws:
org.netbeans.lib.cvsclient.connection.AuthenticationException
java.io.IOException
org.netbeans.lib.cvsclient.command.CommandException
net.sf.statcvs.input.LogSyntaxException
LockException

getCvsRepositoryUtil

protected CvsRepositoryUtil getCvsRepositoryUtil()

validateRepositoryParameters

public void validateRepositoryParameters()


Copyright © 2002-2010 Atlassian. All Rights Reserved.