@Path(value="logger") public interface LoggerService extends JAXRSService
DEFAULT_PARAM_PAGE, DEFAULT_PARAM_PAGE_VALUE, DEFAULT_PARAM_SIZE, DEFAULT_PARAM_SIZE_VALUE, PARAM_DETAILS, PARAM_FIQL, PARAM_ORDERBY, PARAM_PAGE, PARAM_SIZE| Modifier and Type | Method and Description |
|---|---|
void |
delete(LoggerType type,
String name)
Deletes the logger with matching name.
|
List<EventCategoryTO> |
events()
Returns a list of all managed events in audit.
|
List<LoggerTO> |
list(LoggerType type)
Returns a list of loggers with matching type.
|
LoggerTO |
read(LoggerType type,
String name)
Returns logger with matching type and name.
|
void |
update(LoggerType type,
String name,
LoggerTO logger)
Creates or updates (if existing) the logger with matching name.
|
@GET
@Path(value="events")
@Produces(value={"application/xml","application/json"})
List<EventCategoryTO> events()
@GET
@Path(value="{type}/{name}")
@Produces(value={"application/xml","application/json"})
LoggerTO read(@NotNull@PathParam(value="type")
LoggerType type,
@NotNull@PathParam(value="name")
String name)
type - LoggerType to be selected.name - Logger name to be read@GET
@Path(value="{type}")
@Produces(value={"application/xml","application/json"})
List<LoggerTO> list(@NotNull@PathParam(value="type")
LoggerType type)
type - LoggerType to be selected@PUT
@Path(value="{type}/{name}")
@Consumes(value={"application/xml","application/json"})
void update(@NotNull@PathParam(value="type")
LoggerType type,
@NotNull@PathParam(value="name")
String name,
@NotNull
LoggerTO logger)
type - LoggerType to be selectedname - Logger name to be updatedlogger - Logger to be created or updated@DELETE
@Path(value="{type}/{name}")
void delete(@NotNull@PathParam(value="type")
LoggerType type,
@NotNull@PathParam(value="name")
String name)
type - LoggerType to be selectedname - Logger name to be deletedCopyright © 2010–2018 The Apache Software Foundation. All rights reserved.