org.utgenome.shell
クラス Create

java.lang.Object
  上位を拡張 org.utgenome.core.cui.UTGBCommandBase
      上位を拡張 org.utgenome.shell.UTGBShellCommandBase
          上位を拡張 org.utgenome.shell.UTGBShellCommand
              上位を拡張 org.utgenome.shell.Create
すべての実装されたインタフェース:
Comparable<org.xerial.util.opt.Command>, org.xerial.util.opt.Command

public class Create
extends UTGBShellCommand

Create sub command

作成者:
leo

入れ子のクラスの概要
static class Create.CreateAllScaffoldFileFilter
           
static class Create.OverwriteMode
           
static interface Create.ScaffoldFileFilter
           
 
フィールドの概要
 boolean answerYes
           
 
クラス org.utgenome.shell.UTGBShellCommand から継承されたフィールド
APP_FOLDER, EXPLODED_WEBAPP_DIR, SRC_FOLDER, WEBAPP_FOLDER
 
クラス org.utgenome.shell.UTGBShellCommandBase から継承されたフィールド
globalOption
 
コンストラクタの概要
Create()
           
 
メソッドの概要
static void createScaffold(UTGBConfig config, String outputFolder, Create.ScaffoldFileFilter generateFileFilter)
           
 void execute(String[] args)
           
 String getOneLinerDescription()
           
static void mkdirs(File dir)
          Create directories including its parent folders if not exist
 String name()
           
 
クラス org.utgenome.shell.UTGBShellCommand から継承されたメソッド
compareTo, createContextXML, createFileFromTemplate, createFileFromTemplate, execute, getConfigFile, getHelpMessageResource, getObsolteConfigurationFile, getOneLineDescription, getOptionHolder, getPath, getProjectResourcePath, getProjectRoot, isInProjectRoot, loadUTGBConfig, maven, maven
 
クラス org.utgenome.shell.UTGBShellCommandBase から継承されたメソッド
execute
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

answerYes

public boolean answerYes
コンストラクタの詳細

Create

public Create()
メソッドの詳細

execute

public void execute(String[] args)
             throws Exception
定義:
インタフェース org.xerial.util.opt.Command 内の execute
定義:
クラス UTGBShellCommand 内の execute
例外:
Exception

createScaffold

public static void createScaffold(UTGBConfig config,
                                  String outputFolder,
                                  Create.ScaffoldFileFilter generateFileFilter)
                           throws IOException,
                                  UTGBShellException
例外:
IOException
UTGBShellException

mkdirs

public static void mkdirs(File dir)
Create directories including its parent folders if not exist

パラメータ:
dir -

name

public String name()
定義:
インタフェース org.xerial.util.opt.Command 内の name
定義:
クラス UTGBShellCommand 内の name

getOneLinerDescription

public String getOneLinerDescription()
定義:
クラス UTGBShellCommand 内の getOneLinerDescription


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