Class FunctionPackage


  • public class FunctionPackage
    extends step.core.accessors.AbstractOrganizableObject
    Represents a package of Function
    • Field Detail

      • packageLibrariesLocation

        protected String packageLibrariesLocation
      • packageLocation

        protected String packageLocation
      • referencePackageId

        protected String referencePackageId
      • watchForChange

        protected boolean watchForChange
      • functions

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

      • FunctionPackage

        public FunctionPackage()
    • Method Detail

      • getPackageLibrariesLocation

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

        public void setPackageLibrariesLocation​(String packageLibrariesLocation)
      • getPackageLocation

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

        public void setReferencePackageId​(String referencePackageId)
      • getReferencePackageId

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

        public void setPackageLocation​(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 Map<String,​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​(Map<String,​String> packageAttributes)
      • getFunctions

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

        public void setFunctions​(List<org.bson.types.ObjectId> functions)