public class ProcessingUtils extends Object
IProcessing
-ImplementationsConstructor and Description |
---|
ProcessingUtils() |
public static void registerProcessing(Class<? extends IProcessing> processing) throws InstantiationException, IllegalAccessException
IProcessing
system-wide by using his key (see IProcessing.getProcessingKey()
). Already
used keys will override the current registered processing!processing
- IProcessing
-Class to registerInstantiationException
- if an error occurs while instantiate the processing for reading the processing-keyIllegalAccessException
- if an error occurs while instantiate the processing for reading the processing-keypublic static void registerProcessing(Mandant man, Class<? extends IProcessing> processing) throws InstantiationException, IllegalAccessException
IProcessing
for the specified client wide by using his key (see
IProcessing.getProcessingKey()
). Already used keys will override the current registered processing! If the
client is null
, the processing will be registeres using registerProcessing(Class)
.processing
- IProcessing
-Class to registerman
- Mandant
to register the processing forInstantiationException
- if an error occurs while instantiate the processing for reading the processing-keyIllegalAccessException
- if an error occurs while instantiate the processing for reading the processing-keypublic static Class<? extends IProcessing> getProcessingClass(String key)
public static Class<? extends IProcessing> getProcessingClass(String key, Mandant man)
public static Map<String,Class<? extends IProcessing>> getAvailableProcessings()
public static Map<String,Class<? extends IProcessing>> getAvailableProcessings(Mandant man)
public static IProcessing getEmptyProcessing(String key, Mandant man)
public static <T extends IProcessing> T loadParameters(VerarbeitungsParameterMap params, T processing)
public static <T extends IProcessing> VerarbeitungsParameterMap extractParameters(T processing)
public static VerarbeitungsParameterMap readParameter(String verarbeitungsParameter)
public static String writeParameter(VerarbeitungsParameterMap saveParameter)
Copyright © 2019 XIMA MEDIA GmbH. All rights reserved.