Skip to content

Commit

Permalink
New service
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Schöps committed Nov 25, 2019
1 parent e7e4165 commit 87ba27b
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions src/Models/History.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<?php

namespace Wertmenschen\CamundaApi\Models;

class History extends CamundaModel
{
public function findCleanupHistoryJobs()
{
return $this->get('history/cleanup/jobs');
}

public function getHistoryCleanupConfiguration()
{
return $this->get('history/cleanup/configuration');
}

public function findCleanupHistoryJob()
{
return $this->get('history/cleanup/job');
}

public function cleanupHistory()
{
return $this->post('history/cleanup');
}

public function processInstancesCount()
{
return $this->get('history/process-instance/count');
}

public function processInstances()
{
return $this->get('history/process-instance');
}
}

0 comments on commit 87ba27b

Please sign in to comment.