001package net.gdface.codegen.thrift; 002 003/** 004 * @author guyadong 005 * 006 */ 007public interface ThriftConstants { 008 009 final String SCHEMA_INFO = "schemainfo"; 010 final String CXX_HELPER= "cxxhelper"; 011 final String DIR_SCHEMA = "schema"; 012 final String DIR_PERSERVICE = "perservice"; 013 final String DIR_PERSTRUCT = "perstruct"; 014 final String TASK_TYPE_OPTION = "gt"; 015 final String TASK_TYPE_OPTION_LONG = "task-type"; 016 final String TASK_TYPE_OPTION_DESC = "thrift gernerate task type: SERVICE,CLIENT"; 017 final String THRIFT_CLIENT_PKG_OPTION_LONG = "thrift-package"; 018 final String THRIFT_CLIENT_PKG_OPTION_DESC = "package of thrift client code generated by swift-generator,required by CLIENT task"; 019 final String LANGUAGE_OPTION = "lg"; 020 final String LANGUAGE_OPTION_LONG = "language"; 021 final String LANGUAGE_OPTION_DESC = "gernerate language: JAVA,CPP,C_GLIB,default: JAVA"; 022 final String CONFIG_OPTION = "cg"; 023 final String CONFIG_OPTION_LONG = "config"; 024 final String CONFIG_OPTION_DESC = "config file (.properties)"; 025}