public class DefaultSejdaContext extends Object implements SejdaContext
SejdaContext. It loads Sejda configuration from the xml configuration file specified by the system property sejda.config.file or
from the expected sejda.xml in the classpath.| Constructor and Description |
|---|
DefaultSejdaContext() |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends NotificationStrategy> |
getNotificationStrategy() |
Task<? extends TaskParameters> |
getTask(TaskParameters parameters)
Search among the configured tasks the implementation that better can execute the input parameters.
|
boolean |
isIgnoreXmlConfiguration() |
boolean |
isValidation() |
public final Class<? extends NotificationStrategy> getNotificationStrategy()
getNotificationStrategy in interface SejdaContextpublic boolean isValidation()
isValidation in interface SejdaContextpublic boolean isIgnoreXmlConfiguration()
public Task<? extends TaskParameters> getTask(TaskParameters parameters) throws TaskException
SejdaContextgetTask in interface SejdaContextparameters - Input parameters you want to search a task for.Task instance for the input parameters class.TaskException - if no task able to execute the input parameters class is found, or if an error occur while reflective instantiating the Task.Copyright © 2015. All Rights Reserved.