Package com.iizix.server.app.prop
Class ServerAppDistributionProps
java.lang.Object
com.iizix.prop.GProp<GProp<?>[]>
com.iizix.prop.PropCnr
com.iizix.server.app.prop.ServerAppDistributionProps
- All Implemented Interfaces:
EventListener
,IGProp<GProp<?>[]>
,IPropCnr
,Cloneable
- Direct Known Subclasses:
AppDistributionProps
Editor version of the container that holds the required settings for the server to operate and initialize itself with.
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The name of the property for the App ID.static final String
The name of the property for Jar destination.static final String
The name of the property for the Developer ID.static final String
The name of the property for the Developer Group ID.static final String
The name of the property for Include App source.static final String
The name of the property for Include externals.static final String
The name of the property for Jar compression.static final String
The name of the property for Jar obfuscation.static final String
The name of the property for Jar seal.static final String
The name of the property for Jar signing.static final String
The name of the property for Other Modules.protected File
Project directory, null if not set.static final String
The name of the property for Register app.Fields inherited from class com.iizix.prop.PropCnr
EMPTY, EMPTY_CLASSES, EMPTY_CNRS, EXTENDS_FRAMEWORK_ERROR_ID, nameTable
Fields inherited from class com.iizix.prop.GProp
GPDEBUG, PROP_ATTR_STRING_EDITOR_PROP, PROP_ATTR_STRING_ERRORED_NAME, PROP_ATTR_STRING_EXTENDS, PROP_ATTR_STRING_EXTENDS_FINAL, PROP_ATTR_STRING_EXTENDS_PRIVATE, PROP_ATTR_STRING_NULLABLE, PROP_ATTR_STRING_PRIVATE, PROP_ATTR_STRING_PRIVATE_CHANGE_EVENT, PROP_ATTR_STRING_READ_ONLY, PROP_USER_1, PROP_USER_2
Fields inherited from interface com.iizix.prop.IGProp
EQC_ERROR_IGNORE_ALL, EQC_ERROR_IGNORE_REFERENCES, EQC_IGNORE_ARRAY, EQC_IGNORE_VOLATILE_OR_EDITOR, EQC_PRIVATE, EQC_SAVE_FILE, EXT_CONTAINER_EXTENDS, EXT_CONTAINER_EXTENDS_VALID, EXT_EXTENDED, EXT_FINAL, EXT_OVERRIDES, EXT_OVERRIDES_FINAL_ERR, EXT_PRIVATE
Constructor Summary
ConstructorDescriptionCreates the screen identification property container without a name.ServerAppDistributionProps
(Atom propertyAtom) Creates the screen identification property container with the specified name.Method Summary
Modifier and TypeMethodDescriptionclone()
Clone must be overridden.boolean
Flag to include external the App's source.boolean
Flag to include external directories and libraries.boolean
Flag to compress the Jar file.boolean
Flag to obfuscate the Jar file's Java source code.boolean
Flag to seal the Jar file.boolean
Flag to sign the Jar file.boolean
Gets the flag if the app should be registered with the license system.getAppID()
Gets the App ID of the app.Gets the description.Gets the destination Jar file name.Gets the Developer ID of the app.Gets the Developer Group ID of the app.getName()
Gets the app name.String[]
Gets the Modules that should be included in the application, apart of the module this property belongs to.Gets the project directory.void
setDescription
(String descr) Sets the description.void
setDestinationJar
(String destJar) Sets the destination Jar file.void
setIncludeAppSource
(boolean doInclude) Sets the flag to include the App's source.void
setIncludeExternals
(boolean doInclude) Sets the flag to include external directories and libraries.void
setJarCompression
(boolean on) Sets the flag to compress the Jar file.void
setJarObfuscation
(boolean on) Sets the flag to obfuscate the Jar file's Java source code.void
setJarSeal
(boolean on) Sets the flag to seal the Jar file.void
setJarSign
(boolean on) Sets the flag to sign the Jar file.void
setLoadedFile
(File file) Sets the .iiziApp file that loaded this property.void
Sets the app name.void
setOtherModules
(String[] otherModules) Sets the Modules that should be included in the application, apart of the module this property belongs to.Methods inherited from class com.iizix.prop.PropCnr
__transferChildProps, addPredefinedProps, addProp, addProp, addProp2, addProp2, appendPropValue, canRequestFocus, completeVirtualize, containsProp, containsProp, convertLoadedProp, couldRequestFocusIfVirtualized, createCopyOfAtom, createUniqueAtom, createUniqueAtom, createUniqueAtom, createVSReference, doPropEqualsArrayValues, enablePropCommunication, enablePropHashMap, equalsTree, equalsTree, getAllProps, getAllProps, getAllProps, getAllProps, getAllProps, getAllProps, getAllProps, getAllProps, getBool, getBool, getBool, getBool, getChildPropError, getChildPropError, getChildPropErrorSeverity, getChildPropErrorSeverity, getErrorsProp, getExtendsContainer, getExtendsError, getExtendsName, getExtendsOverride, getExtendsPossibleClasses, getFirstProp, getFirstProp, getFocusEngine, getInt, getInt, getInt, getInt, getLong, getLong, getLong, getLong, getNumber, getNumber, getNumber, getNumber, getPossibleChildren, getPredefinedProps, getProp, getProp, getProp, getProp, getProp, getProp, getProp, getProp, getProp, getProp, getProp, getPropBaseReference, getPropCnr, getPropCount, getPropCount, getPropIndex, getPropIndex, getPropIndexes, getProps, getProps, getPropValue, getPropValue, getPropValue, getPropValue, getPropValue, getPropValue, getPropValue, getPropValue0, getRetargetedVerifyContainer, getString, getString, getString, getString, getValueClasses, getVSReference, hasFocus, hasSendData, initializeElement, initializeExtendsFramework, initializeProp, initializeValue, initPropCnr, insertProp, insertProp2, isChild, isExtendsOverriden, isExtendsPropertyValid, isExtendsRoot, isPropAddRemoveAllowed, isPropCommunicating, isPropExtended, isSibling, list, list, logPropNotFound, maybeAddProp, onInsertProp, onPropDispose, onPropRemoved, onPropTreeInitialized, onReferenceEvent, onVirtualContainerCreated, onVirtualizationCompleted, paramString, prepare, removeAllProps, removeAllProps2, removeProp, removeProp, removeProp, removeProp, removeProp, removeProp, removeProp, removeProp2, removeProp2, removeProp2, removeProp2, removeProp2, removeProp2, removeProp2, reorderProps, replaceProps, requestFocus, requestFocus, requestFocusEx, requestFocusEx, resolveReferences, resolveRuntimeReferences, setBool, setBool, setBool, setBool, setCreateRequiredProp, setExtendsName, setExtendsOverride, setInt, setInt, setInt, setLong, setLong, setLong, setLong, setNumber, setNumber, setNumber, setNumber, setProp, setProp, setProp, setProp2, setProp2, setPropValue, setPropValue, setPropValue, setPropValue, setPropValue, setPropValue, setString, setString, setString, setString, shouldCreateProps, shouldSerializeToXML, toElementString, toNativeValue0, usePropHashMap, usesPropIndex, validateChildPropInValue, validateClassInstances, validatePropType, validatePropValue, verify, verifyInternalUseOnly, verifyTree, virtualize
Methods inherited from class com.iizix.prop.GProp
addPropError, addPropListener, convertPropError, dispose, equals, equals, equalsErrors, equalsObj, equalsPropValue, equalValues, extendsClone, finalize, fine, fine, finer, finer, finest, finest, fromElementString, getAliasName, getAppSessionGyro, getAppWorker, getAtomPath, getAttribute, getChildReferencePropName, getClientSessionGyro, getClientWorker, getConstraints, getEnvironment, getErroredPropItems, getErroredProps, getErrorsProp, getExtendsRootContainer, getFullPropName, getFullPropName, getFullPropNameDebug, getFullPropNameDebug, getListeners, getModuleFolder, getModuleFolder, getParent, getParent, getProjectName, getPropAtom, getPropError, getPropError, getPropErroredName, getPropErrorSeverity, getPropExtendsFlags, getPropFromPath, getPropFromPath, getPropFromReference, getPropFromReference, getPropIndex, getPropName, getPropPath, getPropPath, getPropReferenceTarget, getPropRootPropMgr, getPropTreeErrorSeverity, getPropValue, getPropValue, getPropValueObject, getReferencePropName, getReferencePropNameNoAssert, getRelativePropName, getRootFromName, getRootName, getRootParent, getRootParentNoAssert, getTreeLock, hasChanged, hasCircularReferencesError, hasPrivateChangeEventProp, hasPropError, hasPropTreeError, info, info, initializeGElement, initializeGProp, isDisposed, isPropChildOf, isPropClientCreated, isPropCreateRequired, isPropExtended, isPropExtendsFinal, isPropExtendsPrivate, isPropExtendsPrivateInRoot, isPropExtendsPrivateInRoot, isPropFile, isPropFolder, isPropForEditor, isPropNullable, isPropPrivate, isPropPrivateAtCreation, isPropReadOnly, isPropReferenceTreeValid, isPropRoot, isPropRootLoading, isPropRootTreeModificationsAllowed, isPropUSER, isPropValueTreeLockNeeded, isPropVirtualized, isPropVirtualizing, isPropVolatile, isPropVolatileOrEditorOnly, isProxied, list, list, list, mapAliasToReference, mapAliasToReference, mapReferenceToAlias, mapReferenceToAlias, mapReferenceToProjectRelative, modifyPropValue, moveProp, moveProp, moveProp, onEvent, onEventSelf, onPrepare, onPropInvalidateCache, onPropParentChanged, onPropValueSet, onRemoteEvent, paramString, paramValue, post, post, removePropError, removePropListener, removePropUSER, renameProp, renameProp2, resetChangedTree, setChanged, setConstraints, setConstraints, setParent, setPrivateChangeEventProp, setPrivateCreateRequiredProp, setPropError, setPropErroredName, setPropExtended, setPropExtendsFinal, setPropExtendsPrivate, setPropForEditor, setPropNullable, setPropPrivate, setPropReadOnly, setPropUSER, setPropValue, setPropValue, setPropValue, setPropValueIncognito, setPropVolatile, severe, severe, severe, shouldSerializeToXML, throwIfReadOnly, toNativeValue, toString, toString, triggerRemoteEvent, triggerRemoteEvent, validateProp, warning, warning, warning
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.iizix.prop.IGProp
addPropError, addPropListener, dispose, equals, fine, fine, finer, finer, finest, finest, fromElementString, getAppSessionGyro, getAtomPath, getClientSessionGyro, getConstraints, getEnvironment, getErroredPropItems, getErroredProps, getErrorsProp, getExtendsRootContainer, getFullPropName, getFullPropNameDebug, getModuleFolder, getModuleFolder, getParent, getParent, getPropAtom, getPropError, getPropError, getPropErrorSeverity, getPropExtendsFlags, getPropFromPath, getPropFromReference, getPropIndex, getPropName, getPropPath, getPropPath, getPropRootPropMgr, getPropTreeErrorSeverity, getPropValue, getPropValue, getReferencePropName, getRelativePropName, getRootParent, getTreeLock, hasChanged, hasCircularReferencesError, hasPrivateChangeEventProp, hasPropError, hasPropTreeError, info, info, initializeGElement, initializeGProp, isDisposed, isPropChildOf, isPropClientCreated, isPropCreateRequired, isPropExtended, isPropExtendsFinal, isPropExtendsPrivate, isPropExtendsPrivateInRoot, isPropExtendsPrivateInRoot, isPropFile, isPropFolder, isPropNullable, isPropPrivate, isPropReadOnly, isPropReferenceTreeValid, isPropRoot, isPropVirtualized, list, list, list, mapAliasToReference, mapReferenceToAlias, mapReferenceToProjectRelative, moveProp, moveProp, moveProp, onEvent, onEventSelf, onRemoteEvent, removePropError, removePropListener, renameProp, setChanged, setConstraints, setConstraints, setParent, setPrivateChangeEventProp, setPropError, setPropExtendsFinal, setPropExtendsPrivate, setPropNullable, setPropPrivate, setPropReadOnly, setPropValue, setPropValue, severe, severe, severe, toNativeValue, triggerRemoteEvent, triggerRemoteEvent, validateProp, warning, warning, warning
Methods inherited from interface com.iizix.prop.IPropCnr
canRequestFocus, canRequestFocus, couldRequestFocusIfVirtualized, couldRequestFocusIfVirtualized
Field Details
DESTINATION_JAR
The name of the property for Jar destination.- See Also:
OTHER_MODULES
The name of the property for Other Modules.- See Also:
INCLUDE_EXTERNALS
The name of the property for Include externals.- See Also:
JAR_SIGN
The name of the property for Jar signing.- See Also:
JAR_SEAL
The name of the property for Jar seal.- See Also:
JAR_COMPRESSION
The name of the property for Jar compression.- See Also:
JAR_OBFUSCATION
The name of the property for Jar obfuscation.- See Also:
INCLUDE_APP_SOURCE
The name of the property for Include App source.- See Also:
GROUP_ID
The name of the property for the Developer Group ID.- See Also:
DEVELOPER_ID
The name of the property for the Developer ID.- See Also:
APP_ID
The name of the property for the App ID.- See Also:
REGISTER_APP
The name of the property for Register app.- See Also:
projectDir
Project directory, null if not set.
Constructor Details
ServerAppDistributionProps
public ServerAppDistributionProps()Creates the screen identification property container without a name. The name must be set in all cases using thesetPropertyAtom
call.ServerAppDistributionProps
Creates the screen identification property container with the specified name. All system-reserved names for components begins with "$".- Parameters:
propertyAtom
- the name of the component, unique within it's parent.
Method Details
setLoadedFile
Sets the .iiziApp file that loaded this property.- Parameters:
file
- The file that loaded this property.
getProjectDir
Gets the project directory.- Returns:
- The project directory.
clone
Clone must be overridden.setName
Sets the app name.- Parameters:
name
- The app name.
getName
Gets the app name.- Returns:
- The app name, never null but could be empty string (illegal name).
setDescription
Sets the description.- Parameters:
descr
- The description, or null to undefine it.
getDescription
Gets the description.- Returns:
- The description or null if not defined.
setDestinationJar
Sets the destination Jar file.- Parameters:
destJar
- The file name.
getDestinationJar
Gets the destination Jar file name.- Returns:
- The file name, or null if not defined.
doJarSign
public boolean doJarSign()Flag to sign the Jar file.- Returns:
- true by default, false if configured otherwise.
setJarSign
public void setJarSign(boolean on) Sets the flag to sign the Jar file.- Parameters:
on
- The flag.
doJarSeal
public boolean doJarSeal()Flag to seal the Jar file.- Returns:
- true by default, false if configured otherwise.
setJarSeal
public void setJarSeal(boolean on) Sets the flag to seal the Jar file.- Parameters:
on
- The flag.
doJarCompression
public boolean doJarCompression()Flag to compress the Jar file.- Returns:
- true by default, false if configured otherwise.
setJarCompression
public void setJarCompression(boolean on) Sets the flag to compress the Jar file.- Parameters:
on
- The flag.
doJarObfuscation
public boolean doJarObfuscation()Flag to obfuscate the Jar file's Java source code.- Returns:
- false by default, true if configured otherwise.
setJarObfuscation
public void setJarObfuscation(boolean on) Sets the flag to obfuscate the Jar file's Java source code.- Parameters:
on
- The flag.
doIncludeExternals
public boolean doIncludeExternals()Flag to include external directories and libraries.- Returns:
- true by default, false if configured otherwise.
setIncludeExternals
public void setIncludeExternals(boolean doInclude) Sets the flag to include external directories and libraries.- Parameters:
doInclude
- The flag.
doIncludeAppSource
public boolean doIncludeAppSource()Flag to include external the App's source.This can be used e.g. for backup purposes.
- Returns:
- false by default, true if configured otherwise.
setIncludeAppSource
public void setIncludeAppSource(boolean doInclude) Sets the flag to include the App's source.This can be used e.g. for backup purposes.
- Parameters:
doInclude
- The flag.
setOtherModules
Sets the Modules that should be included in the application, apart of the module this property belongs to.- Parameters:
otherModules
- The other Module names that should make up the application.
getOtherModules
Gets the Modules that should be included in the application, apart of the module this property belongs to.- Returns:
- The other Module names that should make up the application.
getGroupID
Gets the Developer Group ID of the app.- Returns:
- The developer Group ID, never null, but empty string for none.
getDeveloperID
Gets the Developer ID of the app.- Returns:
- The developer ID, never null, but empty string for none.
getAppID
Gets the App ID of the app. This ID is filled in automatically when registering a new app.- Returns:
- The App ID, never null, but empty string for none.
doRegisterApp
public boolean doRegisterApp()Gets the flag if the app should be registered with the license system.- Returns:
- true for registration required, false otherwise.