org.apache.maven.plugins.scm
Class ScmBean
java.lang.Object
org.apache.maven.plugins.scm.ScmBean
- Direct Known Subclasses:
- ScmPatternBean, ScmStatusBean
- public class ScmBean
- extends Object
A bean for using the Maven SCM API because wrangling objects in Jelly is no fun.
- Author:
- Brett Porter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScmBean
public ScmBean()
getEmbedder
protected org.codehaus.plexus.embed.Embedder getEmbedder()
throws Exception
- Throws:
Exception
checkout
public void checkout()
throws Exception
- Throws:
Exception
getScmRepository
protected org.apache.maven.scm.repository.ScmRepository getScmRepository(org.apache.maven.scm.manager.ScmManager scmManager)
throws org.apache.maven.scm.repository.ScmRepositoryException,
org.apache.maven.scm.manager.NoSuchScmProviderException
- Throws:
org.apache.maven.scm.repository.ScmRepositoryException
org.apache.maven.scm.manager.NoSuchScmProviderException
lookupScmManager
protected org.apache.maven.scm.manager.ScmManager lookupScmManager()
throws Exception
- Throws:
Exception
checkResult
protected void checkResult(org.apache.maven.scm.ScmResult result)
throws Exception
- Throws:
Exception
update
public void update()
throws Exception
- Throws:
Exception
tag
public void tag()
throws Exception
- Throws:
Exception
setUrl
public void setUrl(String url)
getUrl
public String getUrl()
setTag
public void setTag(String tag)
getTag
public String getTag()
setWorkingDirectory
public void setWorkingDirectory(String workingDirectory)
getWorkingDirectory
public String getWorkingDirectory()
getCheckoutDirectory
public File getCheckoutDirectory()
getTagBase
public String getTagBase()
setTagBase
public void setTagBase(String tagBase)
getUsername
public String getUsername()
setUsername
public void setUsername(String username)
getPassword
public String getPassword()
setPassword
public void setPassword(String password)
Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.