org.utgenome.shell
Class SVNAdd

java.lang.Object
  extended by org.utgenome.core.cui.UTGBCommandBase
      extended by org.utgenome.shell.UTGBShellCommandBase
          extended by org.utgenome.shell.UTGBShellCommand
              extended by org.utgenome.shell.SVNAdd
All Implemented Interfaces:
Comparable<org.xerial.util.opt.Command>, org.xerial.util.opt.Command

public class SVNAdd
extends UTGBShellCommand

Sub-command to add the current project to the subversion repository

Author:
leo

Field Summary
 
Fields inherited from class org.utgenome.shell.UTGBShellCommand
APP_FOLDER, EXPLODED_WEBAPP_DIR, SRC_FOLDER, WEBAPP_FOLDER
 
Fields inherited from class org.utgenome.shell.UTGBShellCommandBase
globalOption
 
Constructor Summary
SVNAdd()
           
 
Method Summary
 void execute(String[] args)
           
 String getOneLinerDescription()
           
 String name()
           
 void svnAddDir(String dir, boolean isRecursive)
           
 void svnAddFile(String file)
           
 void svnIgnore(String file, String ignoreTargets, boolean isRecursive)
           
 
Methods inherited from class org.utgenome.shell.UTGBShellCommand
compareTo, createContextXML, createFileFromTemplate, createFileFromTemplate, execute, getConfigFile, getHelpMessageResource, getObsolteConfigurationFile, getOneLineDescription, getOptionHolder, getPath, getProjectResourcePath, getProjectRoot, isInProjectRoot, loadUTGBConfig, maven, maven
 
Methods inherited from class org.utgenome.shell.UTGBShellCommandBase
execute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SVNAdd

public SVNAdd()
Method Detail

execute

public void execute(String[] args)
             throws Exception
Specified by:
execute in interface org.xerial.util.opt.Command
Specified by:
execute in class UTGBShellCommand
Throws:
Exception

svnAddDir

public void svnAddDir(String dir,
                      boolean isRecursive)
               throws org.tmatesoft.svn.core.SVNException
Throws:
org.tmatesoft.svn.core.SVNException

svnAddFile

public void svnAddFile(String file)
                throws org.tmatesoft.svn.core.SVNException
Throws:
org.tmatesoft.svn.core.SVNException

svnIgnore

public void svnIgnore(String file,
                      String ignoreTargets,
                      boolean isRecursive)
               throws org.tmatesoft.svn.core.SVNException
Throws:
org.tmatesoft.svn.core.SVNException

name

public String name()
Specified by:
name in interface org.xerial.util.opt.Command
Specified by:
name in class UTGBShellCommand

getOneLinerDescription

public String getOneLinerDescription()
Specified by:
getOneLinerDescription in class UTGBShellCommand


Copyright © 2007-2012 utgenome.org. All Rights Reserved.