org.openide.compiler
Class ProgressEvent
java.lang.Object
|
+--java.util.EventObject
|
+--org.openide.compiler.CompilerEvent
|
+--org.openide.compiler.ProgressEvent
- All Implemented Interfaces:
- Serializable
- public class ProgressEvent
- extends CompilerEvent
Event describing progress made compiling a file.
- See Also:
- Serialized Form
|
Field Summary |
static int |
TASK_CLEANING
Task for cleaning result of (previous) compilation. |
static int |
TASK_GENERATING
Task for generating the output code. |
static int |
TASK_PARSING
Task for parsing source code in preparation. |
static int |
TASK_UNKNOWN
Task for general compiler overhead, unspecified. |
static int |
TASK_WRITING
Task for writing the output code. |
|
Method Summary |
int |
getTask()
Get the task type. |
TASK_UNKNOWN
public static final int TASK_UNKNOWN
- Task for general compiler overhead, unspecified.
TASK_PARSING
public static final int TASK_PARSING
- Task for parsing source code in preparation.
TASK_GENERATING
public static final int TASK_GENERATING
- Task for generating the output code.
TASK_WRITING
public static final int TASK_WRITING
- Task for writing the output code.
TASK_CLEANING
public static final int TASK_CLEANING
- Task for cleaning result of (previous) compilation.
ProgressEvent
public ProgressEvent(CompilerGroup source,
FileObject file)
- Create a progress event of unspecified type.
- Parameters:
source - the compiler group that produced the eventfile - the file being compiled
ProgressEvent
public ProgressEvent(CompilerGroup source,
FileObject file,
int task)
- Create a progress event.
- Parameters:
source - the compiler group that produced the eventfile - the file being compiledtask - one of TASK_UNKNOWN, TASK_PARSING, TASK_GENERATING, TASK_WRITING
getTask
public int getTask()
- Get the task type.
- Returns:
- the task
Built on December 12 2001. | Portions Copyright 1997-2001 Sun Microsystems, Inc. All rights reserved.