PackageModifiedEventArgs<T> Class
- java.
lang. Object - system.
fabric. PackageModifiedEventArgs<T>
- system.
Type Parameters
- T
Type of the package being described. See CodePackage, ConfigurationPackage and DataPackage. Also see getCodePackageRemovedEvent(), getConfigurationPackageRemovedEvent() and getDataPackageRemovedEvent().
public class PackageModifiedEventArgs
Describes a package modified event.
Constructor Summary
Constructor | Description |
---|---|
PackageModifiedEventArgs(T oldPackage, T newPackage) |
Creates a new instance of the PackageRemovedEventArgs<T> class. |
Method Summary
Modifier and Type | Method and Description |
---|---|
T |
getNewPackage()
Gets the code, data, or configuration package that replaces the old package in the Service Manifest. |
T |
getOldPackage()
Gets the code, data, or configuration package that was replaced in the Service Manifest. |
void |
setNewPackage(T newPackage)
Sets the code, data, or configuration package that replaces the old package in the Service Manifest. |
void |
setOldPackage(T oldPackage)
Sets the code, data, or configuration package that was replaced in the Service Manifest. |
Constructor Details
PackageModifiedEventArgs
public PackageModifiedEventArgs(T oldPackage, T newPackage)
Creates a new instance of the PackageRemovedEventArgs<T> class.
Parameters:
Method Details
getNewPackage
public T getNewPackage()
Gets the code, data, or configuration package that replaces the old package in the Service Manifest.
Returns:
getOldPackage
public T getOldPackage()
Gets the code, data, or configuration package that was replaced in the Service Manifest.
Returns:
setNewPackage
public void setNewPackage(T newPackage)
Sets the code, data, or configuration package that replaces the old package in the Service Manifest.
Parameters:
setOldPackage
public void setOldPackage(T oldPackage)
Sets the code, data, or configuration package that was replaced in the Service Manifest.
Parameters:
Applies to
Azure SDK for Java
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기