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 voidcreateLabel(ScmProviderRepository repo, ScmFileSet files, String tag, PerforceTagConsumer consumer, boolean lock) static org.codehaus.plexus.util.cli.CommandlinecreateLabelCommandLine(PerforceScmProviderRepository repo, File workingDirectory) createLabelSpecification(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) private booleanprivate voidsyncLabel(ScmProviderRepository repo, ScmFileSet files, String tag, PerforceTagConsumer consumer) Methods inherited from class org.apache.maven.scm.command.tag.AbstractTagCommand
executeCommandMethods 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:
executeTagCommandin classAbstractTagCommand- Parameters:
repo- TODOfiles- TODOtag- TODOmessage- TODO- Returns:
- TODO
- Throws:
ScmException- if any
-
executeTagCommand
protected ScmResult executeTagCommand(ScmProviderRepository repo, ScmFileSet files, String tag, ScmTagParameters scmTagParameters) throws ScmException - Specified by:
executeTagCommandin 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)
-