public class RemoveDirectoryAction extends AbstractScmWebEditorAction
| Modifier and Type | Field and Description |
|---|---|
protected String |
address
the repository's address
|
protected boolean |
badLogin
equals true if there is a problem during the authentication process
|
protected String |
directoryToRemove
the path to the directory to remove
|
protected boolean |
error
equals true if an error occurs
|
protected String |
fileRoot
the full path of the root
|
protected String |
pw
the password to use to connect to the repository
|
static String |
REDIRECT |
protected String |
scmRoot
the URL the root of the repository
|
protected String |
username
the username to use to connect to the repository
|
ATTRIBUTE_BAD_LOGIN, ATTRIBUTE_FILESEARCH_SERVLET_URL, ATTRIBUTE_INVALIDATE_MAX_TIME, ATTRIBUTE_IS_LOGIN, ATTRIBUTE_LOGIN, ATTRIBUTE_ORIG_TEXT, ATTRIBUTE_PREVIEW_SERVLET_URL, ATTRIBUTE_PRIVATE_SERVLET_URI, ATTRIBUTE_PROJECT_URL, ATTRIBUTE_REDIRECT_URL, ATTRIBUTE_REDIRECTION_URL, ATTRIBUTE_SCM_EDITOR_URI, AUTH_ERROR, CONTEXT_ACTION_KEY, detector, EDITABLESFILES, ENCODING, ERROR_PATH, PARAMETER_ADDRESS, PARAMETER_COMMIT_MESSAGE, PARAMETER_DEFAULT_LANG, PARAMETER_FILE_NAME, PARAMETER_FORMAT, PARAMETER_LANG, PARAMETER_MYTEXT, PARAMETER_ORIG_TEXT, PARAMETER_PROJECT_URL, PARAMETER_PW, PARAMETER_SCM_EDITOR_URL, PARAMETER_TEXT, PARAMETER_USERNAME, PROPERTIESFILES, request, scmType, session| Constructor and Description |
|---|
RemoveDirectoryAction() |
| Modifier and Type | Method and Description |
|---|---|
String |
execute()
Execution of the remove directory action
|
String |
getAddress() |
String |
getDirectoryToRemove() |
String |
getFileRoot() |
String |
getPw() |
String |
getScmRoot() |
String |
getUsername() |
boolean |
isBadLogin() |
boolean |
isError() |
void |
setAddress(String address) |
void |
setBadLogin(boolean badLogin) |
void |
setDirectoryToRemove(String directoryToRemove) |
void |
setError(boolean error) |
void |
setFileRoot(String fileRoot) |
void |
setPw(String pw) |
void |
setScmRoot(String scmRoot) |
void |
setUsername(String username) |
convertToUnicode, getCodepageDetector, getMimeType, getMimeType, getMimeTypes, getPassword, getRequest, getScmSession, getScmType, getSweVersion, getUsername, getUsernamePwFromSession, loadProperties, loadProperties, setScmType, setServletRequestaddActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getFormatted, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validatepublic static final String REDIRECT
protected String username
protected String pw
protected String address
protected String directoryToRemove
protected boolean badLogin
protected boolean error
protected String scmRoot
protected String fileRoot
public String getUsername()
public void setUsername(String username)
public String getPw()
public void setPw(String pw)
public void setAddress(String address)
public String getAddress()
public boolean isBadLogin()
public boolean isError()
public String getDirectoryToRemove()
public void setDirectoryToRemove(String directoryToRemove)
public void setBadLogin(boolean badLogin)
public void setError(boolean error)
public String getFileRoot()
public void setFileRoot(String fileRoot)
public String getScmRoot()
public void setScmRoot(String scmRoot)
public String execute()
execute in interface com.opensymphony.xwork2.Actionexecute in class com.opensymphony.xwork2.ActionSupportCopyright © 2009–2017 CodeLutin. All rights reserved.