All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.optaplanner.openshift.employeerostering.shared.admin.AdminRestService Maven / Gradle / Ivy

The newest version!
package org.optaplanner.openshift.employeerostering.shared.admin;

import java.time.ZoneId;
import javax.ws.rs.Consumes;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax.ws.rs.QueryParam;
import javax.ws.rs.core.MediaType;

import com.github.nmorel.gwtjackson.rest.processor.GenRestBuilder;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;

@Api(tags = {"Admin"})
@Path("/admin")
@Produces(MediaType.APPLICATION_JSON)
@Consumes(MediaType.APPLICATION_JSON)
@GenRestBuilder
public interface AdminRestService {

    @ApiOperation("Resets the application")
    @POST
    @Path("/reset")
    void resetApplication(@ApiParam ZoneId zoneId);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy