org.utgenome.shell
Class Server

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.Server
All Implemented Interfaces:
Comparable<org.xerial.util.opt.Command>, org.xerial.util.opt.Command

public class Server
extends UTGBShellCommand

A UTGB sub command for starting up a UTGB portable server

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
Server()
           
 
Method Summary
 void execute(String[] args)
           
 String getOneLinerDescription()
           
 Object getOptionHolder()
           
 String name()
           
static void rsync(File src, File dest)
           
static void rsync(String src, String dest)
           
 
Methods inherited from class org.utgenome.shell.UTGBShellCommand
compareTo, createContextXML, createFileFromTemplate, createFileFromTemplate, execute, getConfigFile, getHelpMessageResource, getObsolteConfigurationFile, getOneLineDescription, 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

Server

public Server()
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

rsync

public static void rsync(File src,
                         File dest)
                  throws UTGBShellException,
                         IOException
Throws:
UTGBShellException
IOException

rsync

public static void rsync(String src,
                         String dest)
                  throws UTGBShellException,
                         IOException
Throws:
UTGBShellException
IOException

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

getOptionHolder

public Object getOptionHolder()
Specified by:
getOptionHolder in interface org.xerial.util.opt.Command
Overrides:
getOptionHolder in class UTGBShellCommand


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