站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc 5.0.0

AntArtifactQueryImplementation (NetBeans Ant Project API) - NetBeans API Javadoc 5.0.0

 

org.netbeans.spi.project.ant
Interface AntArtifactQueryImplementation


public interface AntArtifactQueryImplementation

Represents knowledge about the origin of an Ant build product.

Normal code does not need to implement this query. A standard implementation first finds an associated Project and then checks to see if it supports AntArtifactProvider. You would only need to implement this directly in case your project type generated build artifacts outside of the project directory or otherwise not marked as "owned" by you according to FileOwnerQuery.

See Also:
AntArtifactQuery

Method Summary
 AntArtifact findArtifact(File file)
          Find an Ant build artifact corresponding to a given file.
 

Method Detail

findArtifact

public AntArtifact findArtifact(File file)
Find an Ant build artifact corresponding to a given file.

Parameters:
file - a file on disk (need not currently exist) which might be a build artifact from an Ant script
Returns:
an artifact information object, or null if it is not recognized

 

Built on May 3 2007.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.