Class PerforceTagCommand
- java.lang.Object
-
- org.apache.maven.scm.command.AbstractCommand
-
- org.apache.maven.scm.command.tag.AbstractTagCommand
-
- org.apache.maven.scm.provider.perforce.command.tag.PerforceTagCommand
-
- All Implemented Interfaces:
Command,PerforceCommand
public class PerforceTagCommand extends AbstractTagCommand implements PerforceCommand
- Author:
- Mike Perham, Olivier Lamy
-
-
Constructor Summary
Constructors Constructor Description PerforceTagCommand()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.codehaus.plexus.util.cli.CommandlinecreateLabelCommandLine(PerforceScmProviderRepository repo, File workingDirectory)StringcreateLabelSpecification(PerforceScmProviderRepository repo, String tag, boolean lock)static org.codehaus.plexus.util.cli.CommandlinecreateLabelsyncCommandLine(PerforceScmProviderRepository repo, File workingDirectory, ScmFileSet files, String tag)protected ScmResultexecuteTagCommand(ScmProviderRepository repo, ScmFileSet files, String tag, String message)protected ScmResultexecuteTagCommand(ScmProviderRepository repo, ScmFileSet files, String tag, ScmTagParameters scmTagParameters)-
Methods inherited from class org.apache.maven.scm.command.tag.AbstractTagCommand
executeCommand
-
Methods inherited from class org.apache.maven.scm.command.AbstractCommand
execute, getLogger, setLogger
-
-
-
-
Method Detail
-
executeTagCommand
protected ScmResult executeTagCommand(ScmProviderRepository repo, ScmFileSet files, String tag, String message) throws ScmException
- Overrides:
executeTagCommandin classAbstractTagCommand- Returns:
- Throws:
ScmException
-
executeTagCommand
protected ScmResult executeTagCommand(ScmProviderRepository repo, ScmFileSet files, String tag, ScmTagParameters scmTagParameters) throws ScmException
- Specified by:
executeTagCommandin classAbstractTagCommand- Throws:
ScmException
-
createLabelCommandLine
public static org.codehaus.plexus.util.cli.Commandline createLabelCommandLine(PerforceScmProviderRepository repo, File workingDirectory)
-
createLabelsyncCommandLine
public static org.codehaus.plexus.util.cli.Commandline createLabelsyncCommandLine(PerforceScmProviderRepository repo, File workingDirectory, ScmFileSet files, String tag)
-
createLabelSpecification
public String createLabelSpecification(PerforceScmProviderRepository repo, String tag, boolean lock)
-
-