com.perforce.maven.mojo.shelve
Class P4ShelveMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by com.perforce.maven.mojo.P4Mojo
          extended by com.perforce.maven.mojo.shelve.P4ShelveMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class P4ShelveMojo
extends P4Mojo

Perforce shelve command.


Field Summary
static String command
          The Constant command.
 
Fields inherited from class com.perforce.maven.mojo.P4Mojo
excludes, includes, logger, password, project, reactorProjects, scmDirectory, scmManager, session, urlScm, username
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
P4ShelveMojo()
           
 
Method Summary
 org.apache.maven.scm.ScmResult executeP4Command()
           
protected  org.apache.maven.scm.ScmResult executeShelveCommand(org.apache.maven.scm.provider.ScmProviderRepository repo, org.apache.maven.scm.ScmFileSet files)
           
 
Methods inherited from class com.perforce.maven.mojo.P4Mojo
checkResult, execute, getLogger, getScmPluginConfiguration, getScmRepository, getStatus, isEmpty, parseChangelist, setExcludes, setIncludes, setPassword, setScmManager, setUrlScm, setUsername
 
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
 

Field Detail

command

public static final String command
The Constant command.

See Also:
Constant Field Values
Constructor Detail

P4ShelveMojo

public P4ShelveMojo()
Method Detail

executeP4Command

public org.apache.maven.scm.ScmResult executeP4Command()
                                                throws org.apache.maven.plugin.MojoExecutionException
Specified by:
executeP4Command in class P4Mojo
Throws:
org.apache.maven.plugin.MojoExecutionException

executeShelveCommand

protected org.apache.maven.scm.ScmResult executeShelveCommand(org.apache.maven.scm.provider.ScmProviderRepository repo,
                                                              org.apache.maven.scm.ScmFileSet files)
                                                       throws org.apache.maven.scm.ScmException
Throws:
org.apache.maven.scm.ScmException


Copyright © 2011 Perforce Software. All Rights Reserved.