
com.sap.cloudfoundry.client.facade.domain.CloudEntity Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cloudfoundry-client-facade Show documentation
Show all versions of cloudfoundry-client-facade Show documentation
A facade of the official Cloud Foundry Java client
package com.sap.cloudfoundry.client.facade.domain;
import java.util.UUID;
import org.cloudfoundry.client.v3.Metadata;
import com.sap.cloudfoundry.client.facade.Nullable;
/**
* Do not extend {@code Derivable} in this interface. It is tempting, because all of its children have the same implementation, but
* implementing the {@code derive()} method here leads to this bug: https://github.com/immutables/immutables/issues/1045
*
*/
public abstract class CloudEntity {
@Nullable
public abstract String getName();
@Nullable
public abstract CloudMetadata getMetadata();
@Nullable
public abstract Metadata getV3Metadata();
public UUID getGuid() {
return getMetadata().getGuid();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy