com.aragost.javahg.commands
Class TagCommand

java.lang.Object
  extended by com.aragost.javahg.internals.AbstractCommand
      extended by com.aragost.javahg.commands.flags.TagCommandFlags
          extended by com.aragost.javahg.commands.TagCommand

public class TagCommand
extends TagCommandFlags

Command class for executing hg tag. Set flags from TagCommandFlags and see the execute(String...) method for how to run the command.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.aragost.javahg.internals.AbstractCommand
AbstractCommand.State
 
Constructor Summary
TagCommand(Repository repository)
           
 
Method Summary
 void execute(String... tagNames)
          Create new tags.
 
Methods inherited from class com.aragost.javahg.commands.flags.TagCommandFlags
date, force, getCommandName, local, message, on, remove, rev, user
 
Methods inherited from class com.aragost.javahg.internals.AbstractCommand
cancel, clear, cmdAppend, cmdAppend, cmdAppend, cmdAppend, cmdAppend, doneHook, getErrorString, getRepository, getReturnCode, isSuccessful, launchIterator, launchStream, launchString, needsInputLine, reopenOutputChannelStream, sendLine, toString, withDebugAndChangesetStyle, withDebugFlag
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TagCommand

public TagCommand(Repository repository)
Method Detail

execute

public void execute(String... tagNames)
Create new tags.

Parameters:
tagNames - names of new tags
Throws:
IOException


Copyright © 2011-2013 aragost Trifork ag. All Rights Reserved.