package org.jboss.windup.util;

public abstract class Task<T>
{

    public abstract T execute();
}

package org.jboss.windup.util;

/**
 * A task to be performed.
 * 
 * @author jsightler <jesse.sightler@gmail.com>
 *
 * @param <RETURN_TYPE>
 */
public abstract class Task<RETURN_TYPE>
{
    /**
     * Perform the task.
     * 
     * @return The result, if any. (May be null.)
     */
    public abstract RETURN_TYPE execute();
}

Improve javadoc