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
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
createLabel
(ScmProviderRepository repo, ScmFileSet files, String tag, PerforceTagConsumer consumer, boolean lock) static org.codehaus.plexus.util.cli.Commandline
createLabelCommandLine
(PerforceScmProviderRepository repo, File workingDirectory) createLabelSpecification
(PerforceScmProviderRepository repo, String tag, boolean lock) static org.codehaus.plexus.util.cli.Commandline
createLabelsyncCommandLine
(PerforceScmProviderRepository repo, File workingDirectory, ScmFileSet files, String tag) protected ScmResult
executeTagCommand
(ScmProviderRepository repo, ScmFileSet files, String tag, String message) protected ScmResult
executeTagCommand
(ScmProviderRepository repo, ScmFileSet files, String tag, ScmTagParameters scmTagParameters) private boolean
private void
syncLabel
(ScmProviderRepository repo, ScmFileSet files, String tag, PerforceTagConsumer consumer) 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
-
Field Details
-
actualRepoLocation
-
NEWLINE
- See Also:
-
-
Constructor Details
-
PerforceTagCommand
public PerforceTagCommand()
-
-
Method Details
-
executeTagCommand
protected ScmResult executeTagCommand(ScmProviderRepository repo, ScmFileSet files, String tag, String message) throws ScmException - Overrides:
executeTagCommand
in classAbstractTagCommand
- Parameters:
repo
-files
-tag
-message
-- Returns:
- Throws:
ScmException
-
executeTagCommand
protected ScmResult executeTagCommand(ScmProviderRepository repo, ScmFileSet files, String tag, ScmTagParameters scmTagParameters) throws ScmException - Specified by:
executeTagCommand
in classAbstractTagCommand
- Throws:
ScmException
-
shouldLock
private boolean shouldLock() -
syncLabel
private void syncLabel(ScmProviderRepository repo, ScmFileSet files, String tag, PerforceTagConsumer consumer) -
createLabel
private void createLabel(ScmProviderRepository repo, ScmFileSet files, String tag, PerforceTagConsumer consumer, boolean lock) -
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)
-