public class RasterBaseAlgorithmLibrary extends AbstractLibrary
AbstractLibrary.DefaultRequired
Library.Required, Library.TYPE
Modifier and Type | Field and Description |
---|---|
static String |
REGISTER_INPUT_PARAMETERS_LABEL |
static String |
REGISTER_OUTPUT_PARAMETERS_LABEL |
static String |
REGISTER_PROCESS_LABEL |
Constructor and Description |
---|
RasterBaseAlgorithmLibrary() |
Modifier and Type | Method and Description |
---|---|
protected void |
doInitialize()
Performs all the initializations of the library, only related to himself:
register implementation classes through the Locator, start services, etc.
|
protected void |
doPostInitialize()
Performs all the initializations or validations related to the library
dependencies, as getting references to objects through other libraries
Locators.
|
static RasterBaseAlgorithmManager |
getManager()
Returns the instance of the manager
|
static String |
getProcessName(Class<?> process)
Gets the process name
|
static void |
register(String processLabel,
Class<?> process)
Registers a raster process
|
static String |
registerInputParameter(String parameterLabel,
Class<?> parameterClass)
Deprecated.
Uses ProcessParamsManagement register
|
static String |
registerOutputParameter(String parameterLabel,
Class<?> parameterClass)
Deprecated.
Uses ProcessParamsManagement register
|
doRegistration, equals, getLibrary, getPriority, getRequireds, getType, hashCode, initialize, isRequired, isRequired, postInitialize, registerAs, registerAsAPI, registerAsImplementationOf, registerAsImplementationOf, registerAsServiceOf, require, require, require, toString
public static final String REGISTER_PROCESS_LABEL
public static final String REGISTER_INPUT_PARAMETERS_LABEL
public static final String REGISTER_OUTPUT_PARAMETERS_LABEL
public static void register(String processLabel, Class<?> process)
public static String getProcessName(Class<?> process)
process
- public static String registerInputParameter(String parameterLabel, Class<?> parameterClass)
public static String registerOutputParameter(String parameterLabel, Class<?> parameterClass)
protected void doInitialize() throws LibraryException
AbstractLibrary
doInitialize
in class AbstractLibrary
LibraryException
- if there is an error while performing the initialization of
the libraryprotected void doPostInitialize() throws LibraryException
AbstractLibrary
doPostInitialize
in class AbstractLibrary
LibraryException
- if there is an error while loading an implementation of the
librarypublic static RasterBaseAlgorithmManager getManager()