类 BuildOwner
java.lang.Object
cn.taketoday.buildpack.platform.build.BuildOwner
- 所有已实现的接口:
Owner
The
Owner that should perform the build.- 从以下版本开始:
- 4.0
- 作者:
- Phillip Webb, Andy Wilkinson, Harry Yang
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明(专用程序包) static BuildOwnerFactory method to create theBuildOwnerby inspecting the image env forCNB_USER_ID/CNB_GROUP_IDvariables.longgetGid()Return the group identifier (GID) of the owner.longgetUid()Return the user identifier (UID) of the owner.private long(专用程序包) static BuildOwnerof(long uid, long gid) Factory method to create a newBuildOwnerwith specified user/group identifier.toString()
-
字段详细资料
-
构造器详细资料
-
BuildOwner
-
BuildOwner
BuildOwner(long uid, long gid)
-
-
方法详细资料
-
getValue
-
getUid
public long getUid()从接口复制的说明:OwnerReturn the user identifier (UID) of the owner. -
getGid
public long getGid()从接口复制的说明:OwnerReturn the group identifier (GID) of the owner. -
toString
-
fromEnv
Factory method to create theBuildOwnerby inspecting the image env forCNB_USER_ID/CNB_GROUP_IDvariables.- 参数:
env- the env to parse- 返回:
- a
BuildOwnerinstance extracted from the env - 抛出:
IllegalStateException- if the env does not contain the correct CNB variables
-
of
Factory method to create a newBuildOwnerwith specified user/group identifier.- 参数:
uid- the user identifiergid- the group identifier- 返回:
- a new
BuildOwnerinstance
-