Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*
  * OfficeFloor - http://www.officefloor.net
  * Copyright (C) 2005-2011 Daniel Sagenschneider
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation, either version 3 of the License, or
  * (at your option) any later version.
  *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
package net.officefloor.compile.work;
Type definition of a net.officefloor.frame.internal.structure.Flow possibly instigated by a net.officefloor.frame.api.execute.Task.

Author(s):
Daniel Sagenschneider
public interface TaskFlowType<F extends Enum<F>> {

Obtains the name for the TaskFlowType.

Returns:
Name for the TaskFlowType.

Obtains the index for the TaskFlowType.

Should there be an java.lang.Enum then will be the java.lang.Enum.ordinal() value. Otherwise will be the index that this was added.

Returns:
Index for the TaskFlowType.
	int getIndex();

Obtains the type of the argument passed by the net.officefloor.frame.api.execute.Task to the net.officefloor.frame.internal.structure.Flow.

Returns:
Type of argument passed to net.officefloor.frame.internal.structure.Flow. May be null to indicate no argument.
Obtains the java.lang.Enum key for the TaskFlowType.

Returns:
java.lang.Enum key for the TaskFlowType. May be null if no java.lang.Enum for flows.
getKey();
New to GrepCode? Check out our FAQ X