Example usage for org.springframework.ide.eclipse.boot.dash.test.mocks CFOrganizationData CFOrganizationData

List of usage examples for org.springframework.ide.eclipse.boot.dash.test.mocks CFOrganizationData CFOrganizationData

Introduction

In this page you can find the example usage for org.springframework.ide.eclipse.boot.dash.test.mocks CFOrganizationData CFOrganizationData.

Prototype

public CFOrganizationData(String name, UUID guid) 

Source Link

Usage

From source file:org.springframework.ide.eclipse.boot.dash.test.mocks.MockCloudFoundryClientFactory.java

public CFOrganization defOrg(String orgName) {
    CFOrganization existing = orgsByName.get(orgName);
    if (existing == null) {
        orgsByName.put(orgName, existing = new CFOrganizationData(orgName, UUID.randomUUID()));
    }/*from  w ww  .jav a  2 s  .  com*/
    return existing;
}