Package com.microstrategy.web.objects
Interface WebScriptRuntimeEnv
- 
- All Superinterfaces:
 KeyedObject,WebDisplayUnit,WebFeatures,WebObjectInfo,WebPromptSite
- All Known Implementing Classes:
 WebScriptRuntimeEnvImpl
public interface WebScriptRuntimeEnv extends WebObjectInfo
The WebScriptRuntimeEnv interface represents a script runtime object, which is a first-class object. The definition of the script runtime,aside from the information inherited fromWebObjectInfo, is the whitelist, packages, resource, and others information.- Since:
 - MicroStrategy Web 11.3.4
 
 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetExectimeout()Returns exectimeout infointgetMaxCachedInstances()get the maximal number of idle instances to be cachedintgetMinCachedInstances()get the minimal number of idle instances to be cachedjava.lang.StringgetOthers()Returns others infojava.lang.StringgetPackages()Returns the packagesjava.lang.StringgetResource()Returns the resource (limit on cpu, memory and etc)java.lang.StringgetVersion()Returns version infojava.lang.StringgetWhitelist()Returns the whitelist for network policyvoidsetExectimeout(int exectimeout)Set or modify exectimeout infovoidsetMaxCachedInstances(int numOfInstances)set the maximal number of idle instances to be cachedvoidsetMinCachedInstances(int numOfInstances)set the minimal number of idle instances to be cachedvoidsetOthers(java.lang.String others)Set or modify others infovoidsetPackages(java.lang.String packages)Set or modify the packages to installvoidsetResource(java.lang.String resource)Set or modify the resource (limit on cpu, memory and etc)voidsetVersion(java.lang.String version)Set or modify version infovoidsetWhitelist(java.lang.String whitelist)Set or modify the whitelist for network policy- 
Methods inherited from interface com.microstrategy.utils.KeyedObject
_getObKey 
- 
Methods inherited from interface com.microstrategy.web.objects.WebDisplayUnit
addDetails, applyVisitor, canHighlight, getChildUnits, getDisplayName, getDisplayUnitType, hasDetails, highlightUnit, highlightUnit, isHighlighted, isObjectInfo, isSelected, setDisplayName, setSelected 
- 
Methods inherited from interface com.microstrategy.web.objects.WebFeatures
isFeatureAvailable, isFeatureAvailable 
- 
Methods inherited from interface com.microstrategy.web.objects.WebObjectInfo
buildShortObjectAttributes, buildShortXML, getAbbreviation, getAccessGranted, getAncestors, getCardStatus, getCertifiedInfo, getComments, getContainerDid, getContainerType, getCreationTime, getCreationTimeStamp, getDataSources, getDefaultLanguage, getDescription, getExtendedType, getFactory, getFlags, getIconPath, getID, getModificationTime, getModificationTimeStamp, getName, getNonSchedulable, getOtherNameTransCount, getOwner, getParent, getPreSaveAsFlags, getProjectId, getProjectName, getPropertyFlags, getPropertySetFilter, getPropertySets, getRecommendationInfo, getSecurity, getState, getSubType, getTemplateInfo, getType, getVersionID, getViewMediaSettings, getVisualizationViewMode, getXML, getXML, hasOwner, isAncestorNamedFolder, isDirty, isEmbedded, isHidden, isNew, isPopulated, populate, populate, setAbbreviation, setComments, setDataSources, setDefaultLanguage, setDescription, setExtendedType, setFlags, setHidden, setIconPath, setName, setNonSchedulable, setPreSaveAsFlags, setPropertyFlags 
- 
Methods inherited from interface com.microstrategy.web.objects.WebPromptSite
getPromptInstances 
 - 
 
 - 
 
- 
- 
Method Detail
- 
getWhitelist
java.lang.String getWhitelist()
Returns the whitelist for network policy 
- 
setWhitelist
void setWhitelist(java.lang.String whitelist)
Set or modify the whitelist for network policy 
- 
getPackages
java.lang.String getPackages()
Returns the packages 
- 
setPackages
void setPackages(java.lang.String packages)
Set or modify the packages to install 
- 
getResource
java.lang.String getResource()
Returns the resource (limit on cpu, memory and etc) 
- 
setResource
void setResource(java.lang.String resource)
Set or modify the resource (limit on cpu, memory and etc) 
- 
getOthers
java.lang.String getOthers()
Returns others info 
- 
setOthers
void setOthers(java.lang.String others)
Set or modify others info 
- 
getVersion
java.lang.String getVersion()
Returns version info 
- 
setVersion
void setVersion(java.lang.String version)
Set or modify version info 
- 
getExectimeout
int getExectimeout()
Returns exectimeout info 
- 
setExectimeout
void setExectimeout(int exectimeout)
Set or modify exectimeout info 
- 
getMinCachedInstances
int getMinCachedInstances()
get the minimal number of idle instances to be cached- Returns:
 - number of instances
 
 
- 
setMinCachedInstances
void setMinCachedInstances(int numOfInstances)
set the minimal number of idle instances to be cached- Parameters:
 numOfInstances- the minimal number
 
- 
getMaxCachedInstances
int getMaxCachedInstances()
get the maximal number of idle instances to be cached- Returns:
 - number of instances
 
 
- 
setMaxCachedInstances
void setMaxCachedInstances(int numOfInstances)
set the maximal number of idle instances to be cached- Parameters:
 numOfInstances- the maximal number
 
 - 
 
 -