共用方式為


CodePackage Class

  • java.lang.Object
    • system.fabric.CodePackage

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
CodePackageDescription getCodePackageDescription()

Gets the CodePackageDescription for the system.fabric.CodePackage.

RunAsPolicyDescription getEntryPointRunAsPolicy()

Gets the RunAsPolicyDescription associated with Main EntryPoint in the system.fabric.CodePackage.

String getPath()

Gets the path to the system.fabric.CodePackage.

RunAsPolicyDescription 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:

path - path where system.fabric.CodePackage is to be created.
description -

CodePackageDescription for the system.fabric.CodePackage

SetupEntryPointRunAsPolicy - Setup Entry point for system.fabric.CodePackage
EntryPointRunAsPolicy - Code Run entry point for system.fabric.CodePackage

Method Details

getCodePackageDescription

public CodePackageDescription getCodePackageDescription()

Gets the CodePackageDescription for the system.fabric.CodePackage.

Returns:

The CodePackageDescription for the system.fabric.CodePackage.

getEntryPointRunAsPolicy

public RunAsPolicyDescription getEntryPointRunAsPolicy()

Gets the RunAsPolicyDescription associated with Main EntryPoint in the system.fabric.CodePackage.

Returns:

The RunAsPolicyDescription associated with Main EntryPoint in the system.fabric.CodePackage.

getPath

public String getPath()

Gets the path to the system.fabric.CodePackage.

Returns:

The path to the system.fabric.CodePackage.

getSetupEntryPointRunAsPolicy

public RunAsPolicyDescription getSetupEntryPointRunAsPolicy()

Gets the RunAsPolicyDescription object associated with Setup EntryPoint in system.fabric.CodePackage.

Returns:

The RunAsPolicyDescription object associated with Setup EntryPoint in system.fabric.CodePackage.

Applies to