All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.efaps.admin.event.EventExecution Maven / Gradle / Ivy

/*
 * Copyright 2003 - 2012 The eFaps Team
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * Revision:        $Rev: 7483 $
 * Last Changed:    $Date: 2012-05-11 11:57:38 -0500 (Fri, 11 May 2012) $
 * Last Changed By: $Author: [email protected] $
 */

package org.efaps.admin.event;

import org.efaps.util.EFapsException;

/**
 * This interface is for the Programs loaded dynamically from the eFaps
 * database with the eFaps class loader. To be invoked the Classes loaded with
 * the eFaps class loader must use this interface!
 *
 * @author The eFaps Team
 * @version $Id: EventExecution.java 7483 2012-05-11 16:57:38Z [email protected] $
 *
 */
public interface EventExecution
{
    /**
     * This method is called from eFaps to invoke the class.
     *
     * @param _parameter    parameters
     * @return returned values from the executed event
     * @throws EFapsException if execute failed
     */
    Return execute(final Parameter _parameter)
        throws EFapsException;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy