| | |
| | | */ |
| | | public WorkflowElementStatistics(WorkflowElement<?> workflowElement) |
| | | { |
| | | super(workflowElement.getWorkflowElementID()); |
| | | this.instanceName = workflowElement.getWorkflowElementID(); |
| | | this.workflowElement = workflowElement; |
| | | } |
| | |
| | | * {@inheritDoc} |
| | | */ |
| | | @Override |
| | | public long getUpdateInterval() |
| | | { |
| | | // This monitor should not run periodically. |
| | | return -1; |
| | | } |
| | | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | @Override |
| | | public void updateMonitorData() |
| | | { |
| | | // No implementation is required since this does not do periodic updates. |
| | | } |
| | | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | @Override |
| | | public List<Attribute> getMonitorData() |
| | | { |
| | | ArrayList<Attribute> attrs = new ArrayList<Attribute>(); |