PackageSharingPolicy Class
- java.
lang. Object - system.
fabric. PackageSharingPolicy
- system.
public class PackageSharingPolicy
Represents a policy for the package sharing.
Constructor Summary
Constructor | Description |
---|---|
PackageSharingPolicy(String packageName, PackageSharingPolicyScope sharingScope) |
Creates PackageSharingPolicy object. |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
getPackageName()
Gets the name of code, configuration or data package that should be shared. |
Package |
getSharingScope()
Gets the scope for package sharing policy. |
Constructor Details
PackageSharingPolicy
public PackageSharingPolicy(String packageName, PackageSharingPolicyScope sharingScope)
Creates PackageSharingPolicy object.
Parameters:
Method Details
getPackageName
public String getPackageName()
Gets the name of code, configuration or data package that should be shared.
Returns:
getSharingScope
public PackageSharingPolicyScope getSharingScope()
Gets the scope for package sharing policy.
Returns:
Applies to
Azure SDK for Java