Package org.qzerver.model.agent.action.providers

Examples of org.qzerver.model.agent.action.providers.ActionDefinition


        throws ActionDefinitionMarshallerException
    {
        Preconditions.checkNotNull(actionDefinitionClass, "Action definition class is null");
        Preconditions.checkNotNull(definition, "Definition data array is null");

        ActionDefinition actionDefinition;
        try {
            actionDefinition = objectMapper.readValue(definition, actionDefinitionClass);
        } catch (IOException e) {
            String message = "Fail to unmarshall action definition for class " + actionDefinitionClass;
            throw new ActionDefinitionMarshallerException(message, e);
View Full Code Here


        // Search for identifier
        ActionIdentifier actionIdentifier = ActionIdentifier.findByIdentifier(identifier);

        // Unmarshall action definition
        ActionDefinition actionDefinition;

        try {
            actionDefinition = actionDefinitionMarshaller.unmarshall(actionIdentifier.getActionDefinitionClass(),
                definition);
        } catch (ActionDefinitionMarshallerException e) {
View Full Code Here

TOP

Related Classes of org.qzerver.model.agent.action.providers.ActionDefinition

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.