This repository has been archived by the owner on Jul 1, 2022. It is now read-only.
forked from eclipse/kapua
/
JobStepService.java
41 lines (38 loc) · 1.54 KB
/
JobStepService.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/*******************************************************************************
* Copyright (c) 2017, 2020 Eurotech and/or its affiliates and others
*
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Eurotech - initial API and implementation
*******************************************************************************/
package org.eclipse.kapua.service.job.step;
import org.eclipse.kapua.KapuaException;
import org.eclipse.kapua.model.query.KapuaQuery;
import org.eclipse.kapua.service.KapuaEntityService;
import org.eclipse.kapua.service.KapuaUpdatableEntityService;
/**
* {@link JobStepService} exposes APIs to manage JobStep objects.<br>
* It includes APIs to create, update, find, list and delete Jobs.<br>
* Instances of the JobStepService can be acquired through the ServiceLocator object.
*
* @since 1.0
*/
public interface JobStepService extends KapuaEntityService<JobStep, JobStepCreator>,
KapuaUpdatableEntityService<JobStep> {
/**
* Returns the {@link JobStepListResult} with elements matching the provided query.
*
* @param query The {@link JobStepQuery} used to filter results.
* @return The {@link JobStepListResult} with elements matching the query parameter.
* @throws KapuaException
* @since 1.0.0
*/
@Override
JobStepListResult query(KapuaQuery query)
throws KapuaException;
}