|
What this is
Other links
The source code/*
* Sun Public License Notice
*
* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"). You may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/
*
* The Original Code is NetBeans. The Initial Developer of the Original
* Code is Sun Microsystems, Inc. Portions Copyright 1997-2000 Sun
* Microsystems, Inc. All Rights Reserved.
*/
package org.openide.compiler;
import java.util.*;
import org.openide.ServiceType;
import org.openide.loaders.DataObject;
import org.openide.util.HelpCtx;
import org.openide.util.Lookup;
/** Base class defining method for compilation service.
*
* @author Jaroslav Tulach
*/
public abstract class CompilerType extends ServiceType {
static final long serialVersionUID =-5093377800217789288L;
public HelpCtx getHelpCtx () {
return new HelpCtx (CompilerType.class);
}
/** Prepare a data object for compilation.
* Implementations should create an instance of a
* suitable subclass of {@link Compiler}, passing
* the compiler job to the constructor so that the job may
* register the compiler.
*
* @param job compiler job to add compilers to
* @param type the type of compilation task to manage
* ({@link org.openide.cookies.CompilerCookie.Compile}, etc.)
* @param obj data object to prepare for compilation
*/
public abstract void prepareJob (CompilerJob job, Class type, DataObject obj);
/** Get all registered compilers.
* @return enumeration of
|
| ... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.