public class BoxRepositoryApiImpl extends Object implements BoxRepository
| Constructor and Description |
|---|
BoxRepositoryApiImpl(ApiClient client) |
| Modifier and Type | Method and Description |
|---|---|
AbstractBox |
findBoxOrFirstByDefault(String workspace,
String box) |
AbstractBox |
getBox(String boxId) |
List<AbstractBox> |
getBoxVersions(String boxId) |
List<PolicyBox> |
getCloudFormationPolicyBoxes(String workspace)
Returns only the cloudformation template policy boxes.
|
List<PolicyBox> |
getNoCloudFormationPolicyBoxes(String workspace)
Returns the rest of policy boxes that are not cloud formation policy boxes.
|
List<AbstractBox> |
getNoPolicyAndNoApplicationBoxes(String workspace) |
List<AbstractBox> |
getNoPolicyBoxes(String workspace)
Returns the boxes that are not policy boxes.
|
public BoxRepositoryApiImpl(ApiClient client)
public List<AbstractBox> getNoPolicyAndNoApplicationBoxes(String workspace) throws RepositoryException
getNoPolicyAndNoApplicationBoxes in interface BoxRepositoryRepositoryExceptionpublic List<AbstractBox> getNoPolicyBoxes(String workspace) throws RepositoryException
getNoPolicyBoxes in interface BoxRepositoryRepositoryExceptionpublic List<PolicyBox> getCloudFormationPolicyBoxes(String workspace) throws RepositoryException
getCloudFormationPolicyBoxes in interface BoxRepositoryRepositoryExceptionpublic List<PolicyBox> getNoCloudFormationPolicyBoxes(String workspace) throws RepositoryException
getNoCloudFormationPolicyBoxes in interface BoxRepositoryRepositoryExceptionpublic AbstractBox getBox(String boxId) throws RepositoryException
getBox in interface BoxRepositoryRepositoryExceptionpublic List<AbstractBox> getBoxVersions(String boxId) throws RepositoryException
getBoxVersions in interface BoxRepositoryRepositoryExceptionpublic AbstractBox findBoxOrFirstByDefault(String workspace, String box) throws RepositoryException
findBoxOrFirstByDefault in interface BoxRepositoryRepositoryExceptionCopyright © 2016–2019. All rights reserved.