org.kuali.maven.plugins.jenkins
Class BaseMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.kuali.maven.plugins.jenkins.BaseMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
- CliMojo, DeleteJobsMojo, GenJobMojo, GenJobsMojo, GetJobMojo, GetJobsMojo, PushJobsMojo, RunJobsMojo, SimpleJobMojo
public abstract class BaseMojo
- extends org.apache.maven.plugin.AbstractMojo
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
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 |
BaseMojo
public BaseMojo()
executeMojo
protected abstract void executeMojo()
execute
public void execute()
getProject
public org.apache.maven.project.MavenProject getProject()
getPluginArtifacts
public List<org.apache.maven.artifact.Artifact> getPluginArtifacts()
getUrl
public String getUrl()
setUrl
public void setUrl(String server)
getTimestampFormat
public String getTimestampFormat()
setTimestampFormat
public void setTimestampFormat(String timestampFormat)
getWorkingDir
public File getWorkingDir()
setWorkingDir
public void setWorkingDir(File workingDir)
isStopOnError
public boolean isStopOnError()
setStopOnError
public void setStopOnError(boolean stopOnError)
isFailOnError
public boolean isFailOnError()
setFailOnError
public void setFailOnError(boolean failOnError)
getSuccessCodes
public String getSuccessCodes()
setSuccessCodes
public void setSuccessCodes(String successCodes)
getJobTypes
public String getJobTypes()
setJobTypes
public void setJobTypes(String jobTypes)
getScmType
public String getScmType()
setScmType
public void setScmType(String scmType)
getScmUrl
public String getScmUrl()
setScmUrl
public void setScmUrl(String scmUrl)
getMajorVersion
public String getMajorVersion()
setMajorVersion
public void setMajorVersion(String majorVersion)
getStyles
public List<Style> getStyles()
setStyles
public void setStyles(List<Style> styles)
getStyle
public String getStyle()
setStyle
public void setStyle(String style)
isExcludeVersion
public boolean isExcludeVersion()
setExcludeVersion
public void setExcludeVersion(boolean includeVersion)
getHelper
protected JenkinsHelper getHelper()
isSshEnabled
public boolean isSshEnabled()
setSshEnabled
public void setSshEnabled(boolean sshEnabled)
getSshPort
public int getSshPort()
setSshPort
public void setSshPort(int port)
getHostname
public String getHostname()
setHostname
public void setHostname(String hostname)
getUsername
public String getUsername()
setUsername
public void setUsername(String username)
isSshVerbose
public boolean isSshVerbose()
setSshVerbose
public void setSshVerbose(boolean sshVerbose)
Copyright © 2011-2013 The Kuali Foundation. All Rights Reserved.