Class SignedApkMappingStrategy
java.lang.Object
hudson.model.AbstractDescribableImpl<SignedApkMappingStrategy>
org.jenkinsci.plugins.androidsigning.SignedApkMappingStrategy
- All Implemented Interfaces:
ExtensionPoint,Describable<SignedApkMappingStrategy>
- Direct Known Subclasses:
SignedApkMappingStrategy.UnsignedApkBuilderDirMapping,SignedApkMappingStrategy.UnsignedApkSiblingMapping
public abstract class SignedApkMappingStrategy
extends AbstractDescribableImpl<SignedApkMappingStrategy>
implements ExtensionPoint
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionall()destinationForUnsignedAab(FilePath unsignedAab, FilePath workspace) Return the destination for the signed AAB given its unsigned input.abstract FilePathdestinationForUnsignedApk(FilePath unsignedApk, FilePath workspace) static StringunqualifiedNameOfUnsignedApk(FilePath unsignedApk) Return the name of the given APK without the .apk extension and without any -unsigned suffix, if present.Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
Constructor Details
-
SignedApkMappingStrategy
public SignedApkMappingStrategy()
-
-
Method Details
-
destinationForUnsignedApk
-
destinationForUnsignedAab
Return the destination for the signed AAB given its unsigned input. The default implementation writes the signed AAB as a sibling of the unsigned AAB, mirroringSignedApkMappingStrategy.UnsignedApkSiblingMappingbut with a.aabextension. A concrete (non-abstract) default keeps existing third-partySignedApkMappingStrategyimplementations source and binary compatible.- Parameters:
unsignedAab- the unsigned AAB to signworkspace- the build workspace- Returns:
- the destination
FilePathfor the signed AAB
-
all
-
unqualifiedNameOfUnsignedApk
Return the name of the given APK without the .apk extension and without any -unsigned suffix, if present. For example, myApp-unsigned.apk returns myApp, and myApp-someFlavor.apk returns myApp-someFlavor.- Parameters:
unsignedApk-- Returns:
-