buildframework/helium/sf/java/core/src/com/nokia/helium/core/ant/PreBuildAction.java
changeset 628 7c4a911dc066
equal deleted inserted replaced
588:c7c26511138f 628:7c4a911dc066
       
     1 /*
       
     2 * Copyright (c) 2007-2008 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of the License "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  
       
    15 *
       
    16 */
       
    17 package com.nokia.helium.core.ant;
       
    18 
       
    19 import org.apache.tools.ant.Project;
       
    20 
       
    21 /**
       
    22  * This interface defines the API of an HeliumExecutor task. The Sub classes
       
    23  * performing any pre build actions should implement this interface.
       
    24  * 
       
    25  */
       
    26 public interface PreBuildAction {
       
    27 
       
    28     /**
       
    29      * Method executes a pre build action.
       
    30      * 
       
    31      * @param project
       
    32      *            is the ant project.
       
    33      * @param targetNames
       
    34      *            an array of target names.
       
    35      */
       
    36     void executeOnPreBuild(Project project, String[] targetNames);
       
    37 }