org.openide.compiler
Class ExternalCompilerType

java.lang.Object
  |
  +--org.openide.ServiceType
        |
        +--org.openide.compiler.CompilerType
              |
              +--org.openide.compiler.ExternalCompilerType
All Implemented Interfaces:
Serializable

public class ExternalCompilerType
extends CompilerType

Compiler type that compiles using ExternalCompiler. Compile and build cookies are supported.

See Also:
Serialized Form

Inner classes inherited from class org.openide.ServiceType
ServiceType.Handle, ServiceType.Registry
 
Field Summary
static String PROP_ERROR_EXPRESSION
          property identifying external compiler output format
static String PROP_EXTERNAL_COMPILER
          property identifying the external compiler
 
Fields inherited from class org.openide.ServiceType
PROP_NAME
 
Constructor Summary
ExternalCompilerType()
          Constructor
 
Method Summary
 ExternalCompiler.ErrorExpression getErrorExpression()
          Getter for current error expression.
 NbProcessDescriptor getExternalCompiler()
          Getter for process descriptor describing the compiler.
 void prepareJob(CompilerJob job, Class type, DataObject obj)
          Starts the compilation.
 void setErrorExpression(ExternalCompiler.ErrorExpression ee)
          Changes error expression.
 void setExternalCompiler(NbProcessDescriptor nb)
          Setter for process descriptor describing the compiler.
 
Methods inherited from class org.openide.compiler.CompilerType
compilerTypes, find, find, getDefault, getHelpCtx
 
Methods inherited from class org.openide.ServiceType
addPropertyChangeListener, clone, createClone, displayName, firePropertyChange, getName, removePropertyChangeListener, setName
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROP_EXTERNAL_COMPILER

public static final String PROP_EXTERNAL_COMPILER
property identifying the external compiler

PROP_ERROR_EXPRESSION

public static final String PROP_ERROR_EXPRESSION
property identifying external compiler output format
Constructor Detail

ExternalCompilerType

public ExternalCompilerType()
Constructor
Method Detail

getExternalCompiler

public NbProcessDescriptor getExternalCompiler()
Getter for process descriptor describing the compiler.

setExternalCompiler

public void setExternalCompiler(NbProcessDescriptor nb)
Setter for process descriptor describing the compiler.

setErrorExpression

public void setErrorExpression(ExternalCompiler.ErrorExpression ee)
Changes error expression.

getErrorExpression

public ExternalCompiler.ErrorExpression getErrorExpression()
Getter for current error expression.

prepareJob

public void prepareJob(CompilerJob job,
                       Class type,
                       DataObject obj)
Starts the compilation.
Overrides:
prepareJob in class CompilerType
Following copied from class: org.openide.compiler.CompilerType
Parameters:
job - compiler job to add compilers to
type - the type of compilation task to manage (CompilerCookie.Compile, etc.)
obj - data object to prepare for compilation


Built on December 12 2001.  |  Portions Copyright 1997-2001 Sun Microsystems, Inc. All rights reserved.