|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
org.nuiton.plugin.AbstractPlugin
org.nuiton.jredmine.plugin.LoginMojo
public class LoginMojo
Obtain login for the redmine server to use.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.nuiton.plugin.Plugin |
|---|
org.nuiton.plugin.Plugin.InitState, org.nuiton.plugin.Plugin.Packaging |
| Field Summary | |
|---|---|
protected boolean |
checkLogin
Un flag pour verifier le login (effectue une connexion au serveur). |
protected static org.nuiton.helper.plugin.ShareServerSecretPlugin |
plugin
shared instance of delegate plugin to obtain login |
protected org.apache.maven.project.MavenProject |
project
Dependance du projet. |
protected boolean |
safe
Un flag pour faire échouer le build si la configuration n'est pas ok. |
protected org.sonatype.plexus.components.sec.dispatcher.SecDispatcher |
sec
password decypher |
protected java.lang.String |
serverId
Redmine server id to obtain login and password. |
protected RedmineService |
service
Redmine service. |
protected org.apache.maven.settings.Settings |
settings
Dependance du settings. |
protected java.net.URL |
url
The real basedir redmine url. |
protected boolean |
verbose
Un flag pour activer le mode verbeux. |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
|---|
ROLE |
| Constructor Summary | |
|---|---|
LoginMojo()
|
|
| Method Summary | |
|---|---|
protected void |
afterExecute()
|
protected boolean |
checkSkip()
|
protected void |
doAction()
|
java.lang.String |
getEncoding()
|
org.apache.maven.project.MavenProject |
getProject()
|
java.lang.String |
getRestPassword()
|
java.net.URL |
getRestUrl()
|
java.lang.String |
getRestUsername()
|
protected void |
init()
|
boolean |
isAnonymous()
|
boolean |
isSafe()
|
boolean |
isVerbose()
|
void |
setAnonymous(boolean anonymous)
|
void |
setEncoding(java.lang.String encoding)
|
void |
setProject(org.apache.maven.project.MavenProject project)
|
void |
setRestPassword(java.lang.String restPassword)
|
void |
setRestUrl(java.net.URL restUrl)
|
void |
setRestUsername(java.lang.String restUsername)
|
void |
setSafe(boolean safe)
|
void |
setVerbose(boolean verbose)
|
| Methods inherited from class org.nuiton.plugin.AbstractPlugin |
|---|
acceptPackaging, addCompileSourceRoots, addDirectoryToUrlsList, addResourceDir, addResourceDir, addTestCompileSourceRoots, addTestResourceDir, addTestResourceDir, addUrlToUrlsList, backupFile, checkPackaging, checkResource, checkRunOnceDone, copyFile, createDirectoryIfNecessary, createNewFile, deleteFile, execute, getBackupFile, getFileFromBasedir, getFilesToTreate, getFilesToTreateForRoots, getTemplate, initClassLoader, isExecutionRoot, isFileNewerThanPomFile, rejectPackaging, removeCompileSourceRoots, removeTestCompileSourceRoots, renameFile, writeFile |
| Methods inherited from class org.apache.maven.plugin.AbstractMojo |
|---|
getLog, getPluginContext, setLog, setPluginContext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.maven.plugin.Mojo |
|---|
getLog, setLog |
| Field Detail |
|---|
protected org.apache.maven.project.MavenProject project
protected java.net.URL url
protected boolean verbose
protected boolean checkLogin
protected boolean safe
protected java.lang.String serverId
protected org.apache.maven.settings.Settings settings
protected org.sonatype.plexus.components.sec.dispatcher.SecDispatcher sec
protected RedmineService service
protected static org.nuiton.helper.plugin.ShareServerSecretPlugin plugin
| Constructor Detail |
|---|
public LoginMojo()
| Method Detail |
|---|
protected void init()
throws java.lang.Exception
init in class org.nuiton.plugin.AbstractPluginjava.lang.Exceptionprotected boolean checkSkip()
checkSkip in class org.nuiton.plugin.AbstractPlugin
protected void doAction()
throws java.lang.Exception
doAction in class org.nuiton.plugin.AbstractPluginjava.lang.Exceptionprotected void afterExecute()
afterExecute in class org.nuiton.plugin.AbstractPluginpublic org.apache.maven.project.MavenProject getProject()
getProject in interface org.nuiton.plugin.Pluginpublic void setProject(org.apache.maven.project.MavenProject project)
setProject in interface org.nuiton.plugin.Pluginpublic boolean isVerbose()
isVerbose in interface org.nuiton.io.rest.RestClientConfigurationisVerbose in interface org.nuiton.plugin.Pluginpublic void setVerbose(boolean verbose)
setVerbose in interface org.nuiton.io.rest.RestClientConfigurationsetVerbose in interface org.nuiton.plugin.Pluginpublic java.lang.String getRestPassword()
getRestPassword in interface org.nuiton.io.rest.RestClientConfigurationpublic java.net.URL getRestUrl()
getRestUrl in interface org.nuiton.io.rest.RestClientConfigurationpublic java.lang.String getRestUsername()
getRestUsername in interface org.nuiton.io.rest.RestClientConfigurationpublic void setRestPassword(java.lang.String restPassword)
setRestPassword in interface org.nuiton.io.rest.RestClientConfigurationpublic void setRestUrl(java.net.URL restUrl)
setRestUrl in interface org.nuiton.io.rest.RestClientConfigurationpublic void setRestUsername(java.lang.String restUsername)
setRestUsername in interface org.nuiton.io.rest.RestClientConfigurationpublic java.lang.String getEncoding()
getEncoding in interface org.nuiton.io.rest.RestClientConfigurationpublic void setEncoding(java.lang.String encoding)
setEncoding in interface org.nuiton.io.rest.RestClientConfigurationpublic boolean isAnonymous()
isAnonymous in interface org.nuiton.io.rest.RestClientConfigurationpublic void setAnonymous(boolean anonymous)
setAnonymous in interface org.nuiton.io.rest.RestClientConfigurationpublic boolean isSafe()
public void setSafe(boolean safe)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||