001 /** 002 * Licensed to the Apache Software Foundation (ASF) under one 003 * or more contributor license agreements. See the NOTICE file 004 * distributed with this work for additional information 005 * regarding copyright ownership. The ASF licenses this file 006 * to you under the Apache License, Version 2.0 (the 007 * "License"); you may not use this file except in compliance 008 * with the License. You may obtain a copy of the License at 009 * 010 * http://www.apache.org/licenses/LICENSE-2.0 011 * 012 * Unless required by applicable law or agreed to in writing, software 013 * distributed under the License is distributed on an "AS IS" BASIS, 014 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 015 * See the License for the specific language governing permissions and 016 * limitations under the License. 017 */ 018 package org.apache.oozie.command.wf; 019 020 import org.apache.oozie.command.XCommand; 021 022 /** 023 * Abstract coordinator command class derived from XCommand 024 * 025 * @param <T> 026 */ 027 public abstract class WorkflowXCommand<T> extends XCommand<T> { 028 /** 029 * Base class constructor for workflow commands. 030 * 031 * @param name command name 032 * @param type command type 033 * @param priority command priority 034 */ 035 public WorkflowXCommand(String name, String type, int priority) { 036 super(name, type, priority); 037 } 038 039 /** 040 * Base class constructor for workflow commands. 041 * 042 * @param name command name 043 * @param type command type 044 * @param priority command priority 045 * @param dryrun true if rerun is enabled for command 046 */ 047 public WorkflowXCommand(String name, String type, int priority, boolean dryrun) { 048 super(name, type, priority, dryrun); 049 } 050 051 }