public class UpdateProgressMonitorRule extends AbstractRule
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PROGRESS_MONITOR_INCREMENT
The id of the Integer property that specifies how many work units in
the progress monitor have been worked.
|
static java.lang.String |
PROGRESS_MONITOR_TASK_NAME
The id of the String property that specifies the text to be shown in the
progress monitor.
|
Constructor and Description |
---|
UpdateProgressMonitorRule()
The default constructor should only be used internally by the
transformation service.
|
UpdateProgressMonitorRule(java.lang.String id,
java.lang.String name)
Creates a rule.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
createTarget(ITransformContext context)
Create a new target object based on the source in the context.
|
execute, findTarget, isSourceConsumed, mapTarget, toString, updateTarget
canAccept, getAcceptCondition, getDescription, getId, getName, getProgressMonitor, setAcceptCondition, setDescription, setId, setName
public static final java.lang.String PROGRESS_MONITOR_INCREMENT
public static final java.lang.String PROGRESS_MONITOR_TASK_NAME
public UpdateProgressMonitorRule()
public UpdateProgressMonitorRule(java.lang.String id, java.lang.String name)
id
- A unique identifier for the rule.name
- The name of the rule.protected java.lang.Object createTarget(ITransformContext context) throws java.lang.Exception
AbstractRule
createTarget
in class AbstractRule
context
- the current context of the transformation executionjava.lang.Exception