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 BoxRepository
RepositoryException
public List<AbstractBox> getNoPolicyBoxes(String workspace) throws RepositoryException
getNoPolicyBoxes
in interface BoxRepository
RepositoryException
public List<PolicyBox> getCloudFormationPolicyBoxes(String workspace) throws RepositoryException
getCloudFormationPolicyBoxes
in interface BoxRepository
RepositoryException
public List<PolicyBox> getNoCloudFormationPolicyBoxes(String workspace) throws RepositoryException
getNoCloudFormationPolicyBoxes
in interface BoxRepository
RepositoryException
public AbstractBox getBox(String boxId) throws RepositoryException
getBox
in interface BoxRepository
RepositoryException
public List<AbstractBox> getBoxVersions(String boxId) throws RepositoryException
getBoxVersions
in interface BoxRepository
RepositoryException
public AbstractBox findBoxOrFirstByDefault(String workspace, String box) throws RepositoryException
findBoxOrFirstByDefault
in interface BoxRepository
RepositoryException
Copyright © 2016–2019. All rights reserved.