@Retention(value=RUNTIME) public @interface RestEndpoint
| Modifier and Type | Required Element and Description |
|---|---|
Class<? extends org.jvnet.hk2.config.ConfigBeanProxy> |
configBean
ConfigBean to which to attach the AdminCommand
|
| Modifier and Type | Optional Element and Description |
|---|---|
String |
description
The description of the endpoint.
|
RestEndpoint.OpType |
opType
Rest operation type that should trigger a redirect to an actual asadmin
command invocation.
|
RestParam[] |
params
A list of one or more @RestParam annotations representing the parameters to be
used in the AdminCommand call
|
String |
path
This is the value of the last segment in the generated URL.
|
boolean |
useForAuthorization
Whether this RestEndpoint should be used for command authorization
decisions automatically.
|
public abstract Class<? extends org.jvnet.hk2.config.ConfigBeanProxy> configBean
public abstract RestEndpoint.OpType opType
public abstract String path
public abstract String description
public abstract RestParam[] params
public abstract boolean useForAuthorization
Copyright © 2017–2020 Eclipse Foundation. All rights reserved.