org.finra.datagenerator.engine.scxml.Transform.java Source code

Java tutorial

Introduction

Here is the source code for org.finra.datagenerator.engine.scxml.Transform.java

Source

/*
 * Copyright 2014 DataGenerator Contributors
 *
 * 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.
 */

package org.finra.datagenerator.engine.scxml;

import org.apache.commons.logging.Log;
import org.apache.commons.scxml.ErrorReporter;
import org.apache.commons.scxml.EventDispatcher;
import org.apache.commons.scxml.SCInstance;
import org.apache.commons.scxml.SCXMLExpressionException;
import org.apache.commons.scxml.model.Action;
import org.apache.commons.scxml.model.ModelException;

import java.util.Collection;

/**
 * Marshall Peters
 * Date: 9/15/14
 */
public class Transform extends Action {

    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    /**
     * Required implementation of an abstract method in Action
     *
     * @param eventDispatcher unused
     * @param errorReporter unused
     * @param scInstance unused
     * @param log unused
     * @param collection unused
     * @throws ModelException never
     * @throws SCXMLExpressionException never
     */
    public void execute(EventDispatcher eventDispatcher, ErrorReporter errorReporter, SCInstance scInstance,
            Log log, Collection collection) throws ModelException, SCXMLExpressionException {
        //Handled manually
    }
}