Class FunctionPackage

    • Field Detail

      • packageLibrariesLocation

        protected java.lang.String packageLibrariesLocation
      • packageLocation

        protected java.lang.String packageLocation
      • watchForChange

        protected boolean watchForChange
      • packageAttributes

        protected java.util.Map<java.lang.String,​java.lang.String> packageAttributes
      • executeLocally

        protected boolean executeLocally
      • tokenSelectionCriteria

        protected java.util.Map<java.lang.String,​java.lang.String> tokenSelectionCriteria
      • functions

        protected java.util.List<org.bson.types.ObjectId> functions
        Keep track of the functions added by this package
    • Constructor Detail

      • FunctionPackage

        public FunctionPackage()
    • Method Detail

      • getPackageLibrariesLocation

        public java.lang.String getPackageLibrariesLocation()
        Returns:
        the resource path to the package libraries. Package libraries are either a folder of jar or DLLs
      • setPackageLibrariesLocation

        public void setPackageLibrariesLocation​(java.lang.String packageLibrariesLocation)
      • getPackageLocation

        public java.lang.String getPackageLocation()
        Returns:
        the path to the package file. might be a Resource
      • setPackageLocation

        public void setPackageLocation​(java.lang.String packageLocation)
      • isWatchForChange

        public boolean isWatchForChange()
        Returns:
        true if changes to the content of the package file have to be tracked to automatically update the package
      • setWatchForChange

        public void setWatchForChange​(boolean watchForChange)
      • getPackageAttributes

        public java.util.Map<java.lang.String,​java.lang.String> getPackageAttributes()
        Returns:
        the additional attributes that have to be added to the attributes of the functions contained in this package
      • setPackageAttributes

        public void setPackageAttributes​(java.util.Map<java.lang.String,​java.lang.String> packageAttributes)
      • getFunctions

        public java.util.List<org.bson.types.ObjectId> getFunctions()
        Returns:
        the ID of the functions tracked by this package
      • setFunctions

        public void setFunctions​(java.util.List<org.bson.types.ObjectId> functions)
      • isExecuteLocally

        public boolean isExecuteLocally()
      • setExecuteLocally

        public void setExecuteLocally​(boolean executeLocally)
      • getTokenSelectionCriteria

        public java.util.Map<java.lang.String,​java.lang.String> getTokenSelectionCriteria()
      • setTokenSelectionCriteria

        public void setTokenSelectionCriteria​(java.util.Map<java.lang.String,​java.lang.String> tokenSelectionCriteria)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object