org.utgenome.shell
Class Server

java.lang.Object
  extended by org.utgenome.shell.UTGBShellCommand
      extended by org.utgenome.shell.Server
All Implemented Interfaces:
Comparable<UTGBShellCommand>

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, globalOption, SRC_FOLDER, WEBAPP_FOLDER
 
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, getObsolteConfigurationFile, getPath, getProjectResourcePath, getProjectRoot, isInProjectRoot, loadUTGBConfig, maven
 
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 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 class UTGBShellCommand

getOneLinerDescription

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

getOptionHolder

public Object getOptionHolder()
Overrides:
getOptionHolder in class UTGBShellCommand


Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 2.1 Japan License.