public abstract class AbstractRedmineMojoWithProject extends AbstractRedmineMojo implements RedmineProjectAware
| Modifier and Type | Field and Description |
|---|---|
protected String |
projectId
Redmine project name.
|
protected Project |
releaseProject
the project loaded in init.
|
protected User |
releaseUser
the user loaded in init if
requireUser flag is on |
protected User[] |
users
cache of users of a given project loaded in int if
requireUser flag is on |
dateFormat, encoding, initOk, password, project, REDMINE_SYSTEM, runOnceDone, safe, service, serviceInit, session, url, username, verbose| Constructor and Description |
|---|
AbstractRedmineMojoWithProject(boolean requireUser) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
checkSkip() |
String |
getProjectId() |
protected void |
init() |
protected boolean |
initReleaseProject() |
protected boolean |
initReleaseUser() |
void |
setProjectId(String projectId) |
afterExecute, checkRunOnceDone, closeService, doAction, getApiKey, getEncoding, getProject, getRestPassword, getRestUrl, getRestUsername, isGoalSkip, isRunOnce, isRunOnceDone, isSafe, isVerbose, setApiKey, setEncoding, setProject, setRestPassword, setRestUrl, setRestUsername, setSafe, setVerboseacceptPackaging, addCompileSourceRoots, addDirectoryToUrlsList, addResourceDir, addTestCompileSourceRoots, addTestResourceDir, addUrlToUrlsList, backupFile, checkEncoding, checkPackaging, checkResource, checkRunOnceDone, copyFile, createDirectoryIfNecessary, createNewFile, deleteFile, execute, getBackupFile, getFileFromBasedir, getFilesToTreate, getFilesToTreateForRoots, getRootProject, getTemplate, hasClassPath, initClassLoader, isExecutionRoot, isFileNewerThanPomFile, rejectPackaging, removeCompileSourceRoots, removeTestCompileSourceRoots, renameFile, writeFilegetLog, getPluginContext, setLog, setPluginContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait@Parameter(property="redmine.projectId",
defaultValue="${project.artifactId}",
required=true)
protected String projectId
protected Project releaseProject
protected User releaseUser
requireUser flag is onprotected User[] users
requireUser flag is onpublic AbstractRedmineMojoWithProject(boolean requireUser)
protected void init()
throws Exception
init in class AbstractRedmineMojoExceptionprotected boolean checkSkip()
checkSkip in class AbstractRedmineMojoprotected boolean initReleaseProject()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected boolean initReleaseUser()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionpublic final String getProjectId()
getProjectId in interface RedmineProjectAwarepublic final void setProjectId(String projectId)
setProjectId in interface RedmineProjectAwareCopyright © 2009-2012 CodeLutin. All Rights Reserved.