Interface WebScriptRuntimeEnv

    • 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