public class CodeGenerator extends YTypeSystemSource
items.xml and
advanced-deployment.xml.| Constructor and Description |
|---|
CodeGenerator(PlatformConfig cfg) |
CodeGenerator(PlatformConfig cfg,
YTypeSystemHandler loader) |
CodeGenerator(String platformHome) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
generate() |
static void |
generate(PlatformConfig cfg) |
Map<String,List<String>> |
getCustomSettersSignatureInfoMap() |
String |
getExtensionPackage(YExtension extension) |
ExtensionInfo |
getInfo(String extensionName) |
ExtensionInfo |
getInfo(YExtension ext) |
String |
getJaloClassName(YComposedType type) |
static String |
getJaloClassName(YComposedType type,
String packageRoot) |
String |
getJavaClassName(YType type) |
PlatformConfig |
getPlatformConfig() |
Properties |
getPlatformProperties() |
static void |
main(String[] args)
java de.hybris.bootstrap.codegenerator.CodeGenerator core=ext/core/resources category=ext/category/resources ...
|
static String |
packageToDir(String packageName) |
static boolean |
writeToFile(ClassWriter classWriter,
File baseDir,
boolean overwrite,
boolean touch) |
getExtensionCfgs, getTypeSystempublic CodeGenerator(String platformHome)
public CodeGenerator(PlatformConfig cfg)
public CodeGenerator(PlatformConfig cfg, YTypeSystemHandler loader)
public String getExtensionPackage(YExtension extension)
public ExtensionInfo getInfo(YExtension ext)
public PlatformConfig getPlatformConfig()
getPlatformConfig in class YTypeSystemSourcepublic Properties getPlatformProperties()
getPlatformProperties in class YTypeSystemSourceProperties. Use this only for the bootstrap package.public String getJaloClassName(YComposedType type)
public static String getJaloClassName(YComposedType type, String packageRoot)
public ExtensionInfo getInfo(String extensionName)
protected void generate()
public static boolean writeToFile(ClassWriter classWriter, File baseDir, boolean overwrite, boolean touch)
public static void generate(PlatformConfig cfg)
public static void main(String[] args)
java de.hybris.bootstrap.codegenerator.CodeGenerator core=ext/core/resources category=ext/category/resources ...
args - Copyright © 2017 SAP SE. All Rights Reserved.