You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@hop.apache.org by "nadment (via GitHub)" <gi...@apache.org> on 2026/08/27 19:28:23 UTC

[D] Simplify and revise the execution status (hop)

GitHub user nadment created a discussion: Simplify and revise the execution status

An idea or suggestion for version 3.0: simplify and revise the execution status  for pipelines and workflowd, so that it is easier for plugins to understand and use.

For pipelines, there is `org.apache.hop.pipeline.engine.ComponentExecutionStatus`, but nothing for workflows—just several methods:
`isInitialized();`
`isActive();`
`isFinished();`
`isStopped();`

We could have a common enum for both pipelines and workflows, even if not all states are useful.

Proposal to move the enum to the package 
org.apache.hop.pipeline.en
gine.ComponentExecutionStatus → org.apache.hop.execution.ExecutionStatus

And possibly simplify it a bit:
ComponentExecutionStatus.STATUS_RUNNING → ExecutionStatus.RUNNING
ComponentExecutionStatus.STATUS_FINISHED -> ExecutionStatus.FINISHED

This would make it easier to understand, but it is a significant API change.

GitHub link: https://github.com/apache/hop/discussions/8132

----
This is an automatically sent email for users@hop.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@hop.apache.org


Re: [D] Simplify and revise the execution status (hop)

Posted by "nadment (via GitHub)" <gi...@apache.org>.
GitHub user nadment edited a discussion: Simplify and revise the execution status

An idea or suggestion for version 3.0: simplify and revise the execution status  for pipelines and workflowd, so that it is easier for plugins to understand and use.

For pipelines, there is `org.apache.hop.pipeline.engine.ComponentExecutionStatus`, but nothing for workflows—just several methods:
`isInitialized();`
`isActive();`
`isFinished();`
`isStopped();`

We could have a common enum for both pipelines and workflows, even if not all states are useful.

Proposal to move the enum to the package 
`org.apache.hop.pipeline.en
gine.ComponentExecutionStatus` → `org.apache.hop.execution.ExecutionStatus`

And possibly simplify it a bit:
`ComponentExecutionStatus.STATUS_RUNNING` → `ExecutionStatus.RUNNING`
`ComponentExecutionStatus.STATUS_FINISHED` -> `ExecutionStatus.FINISHED`

This would make it easier to understand, but it is a significant API change.

GitHub link: https://github.com/apache/hop/discussions/8132

----
This is an automatically sent email for users@hop.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@hop.apache.org


Re: [D] Simplify and revise the execution status (hop)

Posted by "nadment (via GitHub)" <gi...@apache.org>.
GitHub user nadment edited a discussion: Simplify and revise the execution status

An idea or suggestion for version 3.0: simplify and revise the execution status  for pipelines and workflowd, so that it is easier for plugins to understand and use.

For pipelines, there is `org.apache.hop.pipeline.engine.ComponentExecutionStatus`, but nothing for workflows—just several methods:
`isInitialized();`
`isActive();`
`isFinished();`
`isStopped();`

We could have a common enum for both pipelines and workflows, even if not all states are useful.

Proposal to move the enum to the package 
`org.apache.hop.pipeline.engine.EngineComponent.ComponentExecutionStatus` → `org.apache.hop.execution.ExecutionStatus`

And possibly simplify it a bit:
`ComponentExecutionStatus.STATUS_RUNNING` → `ExecutionStatus.RUNNING`
`ComponentExecutionStatus.STATUS_FINISHED` -> `ExecutionStatus.FINISHED`

This would make it easier to understand, but it is a significant API change.

GitHub link: https://github.com/apache/hop/discussions/8132

----
This is an automatically sent email for users@hop.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@hop.apache.org