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 |
apiKey, dateFormat, encoding, initOk, password, project, REDMINE_SYSTEM, safe, service, serviceInit, session, url, username, verbose| Modifier | Constructor and Description |
|---|---|
protected |
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, closeService, doAction, failIfSafe, getAuthConfiguration, getEncoding, getProject, getUrl, isVerbose, setApiKey, setAuthConfiguration, setEncoding, setPassword, setProject, setUrl, setUsername, 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, needInvoke, needInvoke, rejectPackaging, removeCompileSourceRoots, removeTestCompileSourceRoots, renameFile, writeFilegetLog, getPluginContext, setLog, setPluginContext@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 onprotected AbstractRedmineMojoWithProject(boolean requireUser)
public final String getProjectId()
getProjectId in interface RedmineProjectAwarepublic final void setProjectId(String projectId)
setProjectId in interface RedmineProjectAwareprotected 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.MojoExecutionExceptionCopyright © 2009–2015 CodeLutin. All rights reserved.