public class RasterBaseAlgorithmLibrary extends AbstractLibrary
AbstractLibrary.DefaultRequired
Library.Required, Library.TYPE
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
REGISTER_INPUT_PARAMETERS_LABEL |
static java.lang.String |
REGISTER_OUTPUT_PARAMETERS_LABEL |
static java.lang.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 java.lang.String |
getProcessName(java.lang.Class<?> process)
Gets the process name
|
static void |
register(java.lang.String processLabel,
java.lang.Class<?> process)
Registers a raster process
|
static java.lang.String |
registerInputParameter(java.lang.String parameterLabel,
java.lang.Class<?> parameterClass)
Deprecated.
Uses ProcessParamsManagement register
|
static java.lang.String |
registerOutputParameter(java.lang.String parameterLabel,
java.lang.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 java.lang.String REGISTER_PROCESS_LABEL
public static final java.lang.String REGISTER_INPUT_PARAMETERS_LABEL
public static final java.lang.String REGISTER_OUTPUT_PARAMETERS_LABEL
public static void register(java.lang.String processLabel, java.lang.Class<?> process)
public static java.lang.String getProcessName(java.lang.Class<?> process)
process
- public static java.lang.String registerInputParameter(java.lang.String parameterLabel, java.lang.Class<?> parameterClass)
public static java.lang.String registerOutputParameter(java.lang.String parameterLabel, java.lang.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()