Skip to content

Instantly share code, notes, and snippets.

@gastaldi
Created February 18, 2014 21:27
Show Gist options
  • Select an option

  • Save gastaldi/9080475 to your computer and use it in GitHub Desktop.

Select an option

Save gastaldi/9080475 to your computer and use it in GitHub Desktop.
/**
* Copyright 2014 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Eclipse Public License version 1.0, available at
* http://www.eclipse.org/legal/epl-v10.html
*/
package org.jboss.forge.addon.ui.command;
import java.util.List;
import org.jboss.forge.addon.ui.context.UIContext;
/**
* Provides setup steps based on the current {@link UIContext}.
*
* Implementations should return the steps required to run before this command
*
* @author <a href="ggastald@redhat.com">George Gastaldi</a>
*/
public interface PreStepsUICommand extends UICommand
{
List<Class<? extends UICommand>> getPreSteps(UIContext context);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment