public class AdjunctResource extends AbstractBrooklynRestResource implements AdjunctApi
AbstractBrooklynRestResource.RestValueResolver
Constructor and Description |
---|
AdjunctResource() |
Modifier and Type | Method and Description |
---|---|
AdjunctDetail |
addAdjunct(java.lang.String application,
java.lang.String entityToken,
java.lang.String adjunctTypeName,
java.util.Map<java.lang.String,java.lang.String> config) |
java.util.Map<java.lang.String,java.lang.Object> |
batchConfigRead(java.lang.String application,
java.lang.String entityToken,
java.lang.String adjunctToken) |
javax.ws.rs.core.Response |
destroy(java.lang.String application,
java.lang.String entityToken,
java.lang.String adjunctId) |
AdjunctDetail |
get(java.lang.String application,
java.lang.String entityToken,
java.lang.String adjunctId) |
java.lang.String |
getConfig(java.lang.String application,
java.lang.String entityToken,
java.lang.String adjunctToken,
java.lang.String configKeyName) |
javax.ws.rs.core.Response |
getIcon(java.lang.String applicationId,
java.lang.String entityId,
java.lang.String adjunctToken) |
Status |
getStatus(java.lang.String application,
java.lang.String entityToken,
java.lang.String adjunctId) |
java.util.List<AdjunctSummary> |
list(java.lang.String application,
java.lang.String entityToken,
java.lang.String adjunctType) |
java.util.List<ConfigSummary> |
listConfig(java.lang.String application,
java.lang.String entityToken,
java.lang.String adjunctToken) |
java.util.List<TaskSummary> |
listTasks(java.lang.String applicationId,
java.lang.String entityId,
java.lang.String adjunctToken,
int limit,
java.lang.Boolean recurse) |
javax.ws.rs.core.Response |
setConfig(java.lang.String application,
java.lang.String entityToken,
java.lang.String adjunctToken,
java.lang.String configKeyName,
java.lang.Object value) |
javax.ws.rs.core.Response |
start(java.lang.String application,
java.lang.String entityToken,
java.lang.String adjunctId) |
javax.ws.rs.core.Response |
stop(java.lang.String application,
java.lang.String entityToken,
java.lang.String adjunctId) |
brooklyn, mgmt, mgmtInternal, setManagementContext
public java.util.List<AdjunctSummary> list(java.lang.String application, java.lang.String entityToken, java.lang.String adjunctType)
list
in interface AdjunctApi
public AdjunctDetail addAdjunct(java.lang.String application, java.lang.String entityToken, java.lang.String adjunctTypeName, java.util.Map<java.lang.String,java.lang.String> config)
addAdjunct
in interface AdjunctApi
public AdjunctDetail get(java.lang.String application, java.lang.String entityToken, java.lang.String adjunctId)
get
in interface AdjunctApi
public Status getStatus(java.lang.String application, java.lang.String entityToken, java.lang.String adjunctId)
getStatus
in interface AdjunctApi
public javax.ws.rs.core.Response start(java.lang.String application, java.lang.String entityToken, java.lang.String adjunctId)
start
in interface AdjunctApi
public javax.ws.rs.core.Response stop(java.lang.String application, java.lang.String entityToken, java.lang.String adjunctId)
stop
in interface AdjunctApi
public javax.ws.rs.core.Response destroy(java.lang.String application, java.lang.String entityToken, java.lang.String adjunctId)
destroy
in interface AdjunctApi
public java.util.List<ConfigSummary> listConfig(java.lang.String application, java.lang.String entityToken, java.lang.String adjunctToken)
listConfig
in interface AdjunctApi
public java.util.Map<java.lang.String,java.lang.Object> batchConfigRead(java.lang.String application, java.lang.String entityToken, java.lang.String adjunctToken)
batchConfigRead
in interface AdjunctApi
public java.lang.String getConfig(java.lang.String application, java.lang.String entityToken, java.lang.String adjunctToken, java.lang.String configKeyName)
getConfig
in interface AdjunctApi
public javax.ws.rs.core.Response setConfig(java.lang.String application, java.lang.String entityToken, java.lang.String adjunctToken, java.lang.String configKeyName, java.lang.Object value)
setConfig
in interface AdjunctApi
public java.util.List<TaskSummary> listTasks(java.lang.String applicationId, java.lang.String entityId, java.lang.String adjunctToken, int limit, java.lang.Boolean recurse)
listTasks
in interface AdjunctApi
public javax.ws.rs.core.Response getIcon(java.lang.String applicationId, java.lang.String entityId, java.lang.String adjunctToken)
getIcon
in interface AdjunctApi