[Processing] add an algs static method to Processing for server

This commit is contained in:
rldhont 2016-05-28 12:40:32 +02:00
parent 427559c872
commit d8ccec0e0a

View File

@ -75,6 +75,12 @@ class Processing:
# All the registered context menu actions for the toolbox
contextMenuActions = []
@staticmethod
def algs():
"""Use this method to get algorithms for wps4server.
"""
return algList.algs
@staticmethod
def addProvider(provider, updateList=True):
"""Use this method to add algorithms from external providers.