@Singleton(value=false) public abstract class AbstractStaticModuleArtifactGenerator extends AbstractFlowCentralComponent implements StaticModuleArtifactGenerator
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractStaticModuleArtifactGenerator() |
protected |
AbstractStaticModuleArtifactGenerator(String zipDir) |
protected |
AbstractStaticModuleArtifactGenerator(String zipDir,
String snapshotZipDir) |
| Modifier and Type | Method and Description |
|---|---|
protected AppletUtilities |
au() |
protected boolean |
checkGeneration(ExtensionModuleStaticFileBuilderContext ctx,
String entityName) |
protected void |
closeEntry(ZipOutputStream zos) |
protected abstract void |
doGenerate(ExtensionModuleStaticFileBuilderContext ctx,
String name,
ZipOutputStream zos) |
void |
generate(ExtensionModuleStaticFileBuilderContext ctx,
String entityName,
ZipOutputStream zos)
Generates static module artifact.
|
protected String |
getDescriptionKey(String applicationName,
String category,
String description) |
protected void |
onInitialize() |
protected void |
onTerminate() |
protected void |
openEntry(ExtensionModuleStaticFileBuilderContext ctx,
String filename,
ZipOutputStream zos) |
getRequestContextUtil, isEnterprise, postJsonObject, setCommandResponsePath, setCommandResultMappingaddTaskMessage, asJson, broadcastToOtherSessions, broadcastToSession, convert, convert, createArrayValueStore, createListValueStore, createParamConfig, createValueStore, createValueStore, createValueStore, findComponentType, fromJson, getAnnotatedClasses, getAnnotatedClassesExcluded, getApplicationAttribute, getApplicationAttribute, getApplicationBanner, getApplicationCode, getApplicationLocale, getApplicationLocaleFormatter, getApplicationMessage, getApplicationMessages, getApplicationName, getApplicationTimeZone, getAuxiliaryVersion, getComponent, getComponent, getComponent, getComponent, getComponent, getComponentConfig, getComponentConfig, getComponentConfigs, getComponentNames, getComponentParamConfigs, getComponents, getComponentType, getComponentType, getContainerInfo, getContainerSetting, getContainerSetting, getCurrentRolePrivilegeCodes, getCurrentUserRoleStepCodes, getDeploymentVersion, getErrorMessage, getExceptionMessage, getExceptionMessage, getLineSeparator, getList, getList, getListItemByDescription, getListItemByKey, getListMap, getListMap, getMessage, getName, getNodeId, getPreferredPort, getPrintableStackTrace, getPrintableStackTraceWithMessageHeader, getRequestAttribute, getRequestAttribute, getRequestContext, getRolePrivilegeCodes, getRuntimeId, getSessionAttribute, getSessionAttribute, getSessionContext, getSessionFormatter, getSessionLocale, getSessionLocaleFormatter, getSessionMessage, getSessionMessages, getStaticSettings, getUnifyComponentContext, getUplComponent, getUplComponent, getUserTenantId, getUserToken, getViewDirective, getWidgetDateFormatOverrideFormatter, getWorkingPathFilename, grabLock, grabLock, initialize, isApplicationAttribute, isApplicationIgnoreViewDirective, isClusterMode, isComponent, isCurrentRolePrivilege, isDeploymentMode, isGlobalAccounting, isInitialized, isInterfacesOpen, isLocked, isProductionMode, isRequestAttribute, isRoleAttributes, isSessionAttribute, isTenancyEnabled, isUserLoggedIn, isWidgetDateFormatOverride, logDebug, logDebug, logError, logError, logError, logError, logError, logInfo, logInfo, logSevere, logSevere, logWarn, logWarn, pause, prettyJson, prettyJsonOnDebug, prettyJsonOnError, prettyJsonOnInfo, prettyJsonOnSevere, prettyJsonOnWarn, releaseLock, removeApplicationAttribute, removeRequestAttribute, removeSessionAttribute, removeSessionAttributes, resolveApplicationMessage, resolveMessage, resolveSessionMessage, resolveUTC, sendCommand, setApplicationAttribute, setRequestAttribute, setRoleAttributes, setSessionAttribute, setSessionStickyAttribute, setUserTokenTenantId, terminate, throwOperationErrorException, throwUnsupportedOperationException, tryGrabLockprotected AbstractStaticModuleArtifactGenerator(String zipDir, String snapshotZipDir)
protected AbstractStaticModuleArtifactGenerator(String zipDir)
protected AbstractStaticModuleArtifactGenerator()
public final void generate(ExtensionModuleStaticFileBuilderContext ctx, String entityName, ZipOutputStream zos) throws com.tcdng.unify.core.UnifyException
StaticModuleArtifactGeneratorgenerate in interface StaticModuleArtifactGeneratorctx - the module contextentityName - the entity namezos - the zip output streamcom.tcdng.unify.core.UnifyException - if an error occursprotected AppletUtilities au()
protected abstract void doGenerate(ExtensionModuleStaticFileBuilderContext ctx, String name, ZipOutputStream zos) throws com.tcdng.unify.core.UnifyException
com.tcdng.unify.core.UnifyExceptionprotected void onInitialize()
throws com.tcdng.unify.core.UnifyException
onInitialize in class com.tcdng.unify.core.AbstractUnifyComponentcom.tcdng.unify.core.UnifyExceptionprotected void onTerminate()
throws com.tcdng.unify.core.UnifyException
onTerminate in class com.tcdng.unify.core.AbstractUnifyComponentcom.tcdng.unify.core.UnifyExceptionprotected boolean checkGeneration(ExtensionModuleStaticFileBuilderContext ctx, String entityName) throws com.tcdng.unify.core.UnifyException
com.tcdng.unify.core.UnifyExceptionprotected void openEntry(ExtensionModuleStaticFileBuilderContext ctx, String filename, ZipOutputStream zos) throws com.tcdng.unify.core.UnifyException
com.tcdng.unify.core.UnifyExceptionprotected void closeEntry(ZipOutputStream zos) throws com.tcdng.unify.core.UnifyException
com.tcdng.unify.core.UnifyExceptionCopyright © 2024. All rights reserved.