public class GenerateHubTDETemplateCommand
extends com.marklogic.appdeployer.command.es.GenerateModelArtifactsCommand
| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
GenerateHubTDETemplateCommand(HubConfig hubConfig) |
| Modifier and Type | Method and Description |
|---|---|
protected static java.util.Map<java.lang.String,java.io.File> |
createEntityNameFileMap(java.util.List<java.io.File> entityFiles) |
void |
execute(com.marklogic.appdeployer.command.CommandContext context) |
protected static java.util.Optional<java.lang.String> |
extactEntityNameFromFilename(java.lang.String filename) |
protected void |
filterEntities(java.util.Map<java.lang.String,java.io.File> entityNameFileMap) |
protected java.util.List<java.io.File> |
findEntityFiles() |
java.lang.String |
getEntityNames() |
void |
setEntityNames(java.lang.String entityNames) |
buildCodeGenerationRequest, buildDatabaseClient, fileHasDifferentContent, generateDatabaseProperties, generateExtractionTemplate, generateInstanceConverter, generateSchema, generateSearchOptions, loadModelDefinition, loadModelDefinition, removeGeneratedAtTimestamp, selectModulesDir, setOptionsPathadjustPayloadBeforeSavingResource, adjustResourceManagerForPayload, copyFileToString, copyFileToString, getExecuteSortOrder, listFilesInDirectory, logResourceDirectoryNotFound, saveResource, setExecuteSortOrder, setFilenamesToIgnore, setPayloadTokenReplacer, setResourceFilenameFilter, setResourceFilenamesExcludePattern, setResourceFilenamesIncludePattern, setStoreResourceIdsAsCustomTokens, storeTokenForResourceIdpublic GenerateHubTDETemplateCommand(HubConfig hubConfig)
public void execute(com.marklogic.appdeployer.command.CommandContext context)
execute in interface com.marklogic.appdeployer.command.Commandexecute in class com.marklogic.appdeployer.command.es.GenerateModelArtifactsCommandpublic java.lang.String getEntityNames()
public void setEntityNames(java.lang.String entityNames)
protected void filterEntities(java.util.Map<java.lang.String,java.io.File> entityNameFileMap)
protected static java.util.Map<java.lang.String,java.io.File> createEntityNameFileMap(java.util.List<java.io.File> entityFiles)
protected java.util.List<java.io.File> findEntityFiles()
protected static java.util.Optional<java.lang.String> extactEntityNameFromFilename(java.lang.String filename)