Package org.apache.maven.scm.plugin
Class AbstractScmMojo
- java.lang.Object
- 
- org.apache.maven.plugin.AbstractMojo
- 
- org.apache.maven.scm.plugin.AbstractScmMojo
 
 
- 
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled,- org.apache.maven.plugin.Mojo
 - Direct Known Subclasses:
- AddMojo,- BranchMojo,- ChangeLogMojo,- CheckinMojo,- CheckLocalModificationsMojo,- CheckoutMojo,- DiffMojo,- EditMojo,- ExportMojo,- ListMojo,- RemoveMojo,- StatusMojo,- TagMojo,- UnEditMojo,- UntagMojo,- UpdateMojo,- UpdateSubprojectsMojo,- ValidateMojo
 
 public abstract class AbstractScmMojo extends org.apache.maven.plugin.AbstractMojo - Author:
- Emmanuel Venisse, Olivier Lamy
 
- 
- 
Field SummaryFields Modifier and Type Field Description protected static String[]VALID_VERSION_TYPESprotected static StringVERSION_TYPE_BRANCHprotected static StringVERSION_TYPE_REVISIONprotected static StringVERSION_TYPE_TAG
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedAbstractScmMojo(ScmManager manager, org.apache.maven.settings.crypto.SettingsDecrypter settingsDecrypter)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheckResult(ScmResult result)voidexecute()FilegetBasedir()StringgetConnectionUrl()StringgetExcludes()ScmFileSetgetFileSet()StringgetIncludes()ScmManagergetScmManager()ScmRepositorygetScmRepository()ScmVersiongetScmVersion(String versionType, String version)FilegetWorkingDirectory()protected voidhandleExcludesIncludesAfterCheckoutAndExport(File checkoutDirectory)protected voidsetConnectionType(String connectionType)voidsetConnectionUrl(String connectionUrl)voidsetExcludes(String excludes)voidsetIncludes(String includes)voidsetWorkingDirectory(File workingDirectory)
 
- 
- 
- 
Field Detail- 
VERSION_TYPE_BRANCHprotected static final String VERSION_TYPE_BRANCH - See Also:
- Constant Field Values
 
 - 
VERSION_TYPE_REVISIONprotected static final String VERSION_TYPE_REVISION - See Also:
- Constant Field Values
 
 - 
VERSION_TYPE_TAGprotected static final String VERSION_TYPE_TAG - See Also:
- Constant Field Values
 
 - 
VALID_VERSION_TYPESprotected static final String[] VALID_VERSION_TYPES 
 
- 
 - 
Constructor Detail- 
AbstractScmMojoprotected AbstractScmMojo(ScmManager manager, org.apache.maven.settings.crypto.SettingsDecrypter settingsDecrypter) 
 
- 
 - 
Method Detail- 
executepublic void execute() throws org.apache.maven.plugin.MojoExecutionException - Throws:
- org.apache.maven.plugin.MojoExecutionException
 
 - 
setConnectionTypeprotected void setConnectionType(String connectionType) 
 - 
getConnectionUrlpublic String getConnectionUrl() 
 - 
setConnectionUrlpublic void setConnectionUrl(String connectionUrl) 
 - 
getWorkingDirectorypublic File getWorkingDirectory() 
 - 
getBasedirpublic File getBasedir() 
 - 
setWorkingDirectorypublic void setWorkingDirectory(File workingDirectory) 
 - 
getScmManagerpublic ScmManager getScmManager() 
 - 
getFileSetpublic ScmFileSet getFileSet() throws IOException - Throws:
- IOException
 
 - 
getScmRepositorypublic ScmRepository getScmRepository() throws ScmException - Throws:
- ScmException
 
 - 
checkResultpublic void checkResult(ScmResult result) throws org.apache.maven.plugin.MojoExecutionException - Throws:
- org.apache.maven.plugin.MojoExecutionException
 
 - 
getIncludespublic String getIncludes() 
 - 
setIncludespublic void setIncludes(String includes) 
 - 
getExcludespublic String getExcludes() 
 - 
setExcludespublic void setExcludes(String excludes) 
 - 
getScmVersionpublic ScmVersion getScmVersion(String versionType, String version) throws org.apache.maven.plugin.MojoExecutionException - Throws:
- org.apache.maven.plugin.MojoExecutionException
 
 - 
handleExcludesIncludesAfterCheckoutAndExportprotected void handleExcludesIncludesAfterCheckoutAndExport(File checkoutDirectory) throws org.apache.maven.plugin.MojoExecutionException - Throws:
- org.apache.maven.plugin.MojoExecutionException
 
 
- 
 
-