你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
CodePackage Class
- java.
lang. Object - system.
fabric. CodePackage
- system.
public class CodePackage
Represents the code package definition.
Constructor Summary
Constructor | Description |
---|---|
CodePackage(String path, CodePackageDescription description, RunAsPolicyDescription SetupEntryPointRunAsPolicy, RunAsPolicyDescription EntryPointRunAsPolicy) |
Creates an Instance of system.fabric.CodePackage |
Method Summary
Modifier and Type | Method and Description |
---|---|
Code |
getCodePackageDescription()
Gets the CodePackageDescription for the system.fabric.CodePackage. |
Run |
getEntryPointRunAsPolicy()
Gets the RunAsPolicyDescription associated with Main EntryPoint in the system.fabric.CodePackage. |
String |
getPath()
Gets the path to the system.fabric.CodePackage. |
Run |
getSetupEntryPointRunAsPolicy()
Gets the RunAsPolicyDescription object associated with Setup EntryPoint in system.fabric.CodePackage. |
Constructor Details
CodePackage
public CodePackage(String path, CodePackageDescription description, RunAsPolicyDescription SetupEntryPointRunAsPolicy, RunAsPolicyDescription EntryPointRunAsPolicy)
Creates an Instance of system.fabric.CodePackage
Parameters:
CodePackageDescription for the system.fabric.CodePackage
Method Details
getCodePackageDescription
public CodePackageDescription getCodePackageDescription()
Gets the CodePackageDescription for the system.fabric.CodePackage.
Returns:
getEntryPointRunAsPolicy
public RunAsPolicyDescription getEntryPointRunAsPolicy()
Gets the RunAsPolicyDescription associated with Main EntryPoint in the system.fabric.CodePackage.
Returns:
getPath
public String getPath()
Gets the path to the system.fabric.CodePackage.
Returns:
getSetupEntryPointRunAsPolicy
public RunAsPolicyDescription getSetupEntryPointRunAsPolicy()
Gets the RunAsPolicyDescription object associated with Setup EntryPoint in system.fabric.CodePackage.
Returns: