org.kuali.maven.plugins.jenkins
Class BaseMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by 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


Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
BaseMojo()
           
 
Method Summary
 void execute()
           
protected abstract  void executeMojo()
           
protected  JenkinsHelper getHelper()
           
 String getHostname()
           
 String getJobTypes()
           
 String getMajorVersion()
           
 List<org.apache.maven.artifact.Artifact> getPluginArtifacts()
           
 org.apache.maven.project.MavenProject getProject()
           
 String getScmType()
           
 String getScmUrl()
           
 int getSshPort()
           
 String getStyle()
           
 List<Style> getStyles()
           
 String getSuccessCodes()
           
 String getTimestampFormat()
           
 String getUrl()
           
 String getUsername()
           
 File getWorkingDir()
           
 boolean isExcludeVersion()
           
 boolean isFailOnError()
           
 boolean isSshEnabled()
           
 boolean isSshVerbose()
           
 boolean isStopOnError()
           
 void setExcludeVersion(boolean includeVersion)
           
 void setFailOnError(boolean failOnError)
           
 void setHostname(String hostname)
           
 void setJobTypes(String jobTypes)
           
 void setMajorVersion(String majorVersion)
           
 void setScmType(String scmType)
           
 void setScmUrl(String scmUrl)
           
 void setSshEnabled(boolean sshEnabled)
           
 void setSshPort(int port)
           
 void setSshVerbose(boolean sshVerbose)
           
 void setStopOnError(boolean stopOnError)
           
 void setStyle(String style)
           
 void setStyles(List<Style> styles)
           
 void setSuccessCodes(String successCodes)
           
 void setTimestampFormat(String timestampFormat)
           
 void setUrl(String server)
           
 void setUsername(String username)
           
 void setWorkingDir(File workingDir)
           
 
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
 

Constructor Detail

BaseMojo

public BaseMojo()
Method Detail

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.