|
||||||||||
| 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.AbstractRedmineMojo
org.nuiton.jredmine.plugin.PublishAttachmentsMojo
public class PublishAttachmentsMojo
Publish files for a given project and version on redmine server.
| 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 List<File> |
allFiles
files to deploy |
protected boolean |
anonymous
Flag to know if anonymùous connexion to redmine server is required. |
protected boolean |
dryRun
A flag to test plugin but send nothing to redmine. |
protected File[] |
files
A list of files to deploy. |
protected File |
filesFromProperties
The path of a properties files where files to deploy are descriped. |
protected boolean |
runOnce
A flag to restirct only one run in a build (for multi-module context). |
protected boolean |
skipPublishAttachments
A flag to skip the goal. |
| Fields inherited from class org.nuiton.jredmine.plugin.AbstractRedmineMojo |
|---|
dateFormat, encoding, initOk, password, project, projectId, REDMINE_SYSTEM, releaseProject, releaseUser, releaseVersion, runOnceDone, safe, service, serviceInit, session, url, username, users, verbose, versionId |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
|---|
ROLE |
| Constructor Summary | |
|---|---|
PublishAttachmentsMojo()
|
|
| Method Summary | |
|---|---|
protected boolean |
checkRunOnceDone()
|
protected boolean |
checkSkip()
|
protected void |
doAction()
Re-expose the protected method for test purposes... |
protected List<File> |
getFilesToDeploy()
|
protected void |
init()
|
boolean |
isAnonymous()
|
protected boolean |
isGoalSkip()
|
protected boolean |
isRunOnce()
|
void |
setAnonymous(boolean anonymous)
|
| Methods inherited from class org.nuiton.jredmine.plugin.AbstractRedmineMojo |
|---|
afterExecute, closeService, getEncoding, getProject, getProjectId, getRestPassword, getRestUrl, getRestUsername, getVersionId, initReleaseProject, initReleaseUser, initReleaseVersion, isRunOnceDone, isSafe, isVerbose, setEncoding, setProject, setRestPassword, setRestUrl, setRestUsername, setSafe, setVerbose |
| 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 boolean anonymous
false, you should fill AbstractRedmineMojo.username
and AbstractRedmineMojo.password properties.
protected File filesFromProperties
protected File[] files
protected boolean skipPublishAttachments
protected boolean dryRun
protected boolean runOnce
protected List<File> allFiles
| Constructor Detail |
|---|
public PublishAttachmentsMojo()
| Method Detail |
|---|
public boolean isAnonymous()
public void setAnonymous(boolean anonymous)
protected boolean isGoalSkip()
isGoalSkip in class AbstractRedmineMojoprotected boolean isRunOnce()
isRunOnce in class AbstractRedmineMojoprotected boolean checkRunOnceDone()
checkRunOnceDone in class AbstractRedmineMojo
protected void init()
throws Exception
init in class AbstractRedmineMojoExceptionprotected boolean checkSkip()
checkSkip in class AbstractRedmineMojo
protected void doAction()
throws Exception
AbstractRedmineMojo
doAction in class AbstractRedmineMojoExceptionAbstractPlugin.doAction()
protected List<File> getFilesToDeploy()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||