Owner Type — spring-boot Architecture
Architecture documentation for the Owner type/interface in Owner.java from the spring-boot codebase.
Entity Profile
Source Code
buildpack/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/io/Owner.java lines 25–54
public interface Owner {
/**
* Owner for root ownership.
*/
Owner ROOT = Owner.of(0, 0);
/**
* Return the user identifier (UID) of the owner.
* @return the user identifier
*/
long getUid();
/**
* Return the group identifier (GID) of the owner.
* @return the group identifier
*/
long getGid();
/**
* Factory method to create a new {@link Owner} with specified user/group identifier.
* @param uid the user identifier
* @param gid the group identifier
* @return a new {@link Owner} instance
*/
static Owner of(long uid, long gid) {
return new DefaultOwner(uid, gid);
}
}
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free