public class PdpServiceMock extends Object implements PdpService
| Constructor and Description |
|---|
PdpServiceMock() |
| Modifier and Type | Method and Description |
|---|---|
List<Policy.Attribute> |
allowedAttributes() |
Policy |
create(Policy policy) |
org.springframework.http.ResponseEntity<String> |
delete(Long id) |
boolean |
isAvailable() |
List<Policy> |
policies() |
Policy |
policy(Long id) |
List<Policy> |
revisions(Long id) |
Policy |
update(Policy policy) |
public List<Policy> policies()
policies in interface PdpServicepublic Policy policy(Long id)
policy in interface PdpServicepublic Policy create(Policy policy)
create in interface PdpServicepublic Policy update(Policy policy)
update in interface PdpServicepublic List<Policy.Attribute> allowedAttributes()
allowedAttributes in interface PdpServicepublic org.springframework.http.ResponseEntity<String> delete(Long id)
delete in interface PdpServicepublic List<Policy> revisions(Long id)
revisions in interface PdpServicepublic boolean isAvailable()
isAvailable in interface PdpServiceCopyright © 2012–2021 Pivotal Software, Inc.. All rights reserved.