Package com.sic.plugins.kpp
Class KPPProvisioningProfilesBuildWrapper
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<BuildWrapper>
-
- hudson.tasks.BuildWrapper
-
- com.sic.plugins.kpp.KPPProvisioningProfilesBuildWrapper
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<BuildWrapper>
public class KPPProvisioningProfilesBuildWrapper extends BuildWrapper
Build wrapper for provisioning profiles- Author:
- Michael Bär
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
KPPProvisioningProfilesBuildWrapper.DescriptorImpl
Descriptor of theKPPProvisioningProfilesBuildWrapper
-
Nested classes/interfaces inherited from class hudson.tasks.BuildWrapper
BuildWrapper.Environment
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description KPPProvisioningProfilesBuildWrapper(List<KPPProvisioningProfile> provisioningProfiles, boolean deleteProfilesAfterBuild, boolean overwriteExistingProfiles)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
getDeleteProfilesAfterBuild()
Get if the provisioning profile can be deleted after the build.KPPProvisioningProfilesBuildWrapper.DescriptorImpl
getDescriptor()
boolean
getOverwriteExistingProfiles()
Get if current existing provisioning profile with the same filename can be overwritten.List<KPPProvisioningProfile>
getProvisioningProfiles()
Get the provisioning profiles.BuildWrapper.Environment
setUp(AbstractBuild build, Launcher launcher, BuildListener listener)
-
Methods inherited from class hudson.tasks.BuildWrapper
all, decorateLauncher, decorateLogger, getProjectAction, getProjectActions, makeBuildVariables, makeSensitiveBuildVariables, preCheckout, setUp
-
-
-
-
Constructor Detail
-
KPPProvisioningProfilesBuildWrapper
@DataBoundConstructor public KPPProvisioningProfilesBuildWrapper(List<KPPProvisioningProfile> provisioningProfiles, boolean deleteProfilesAfterBuild, boolean overwriteExistingProfiles)
Constructor- Parameters:
provisioningProfiles
- list of provisioning profilesdeleteProfilesAfterBuild
- if the provisioning profile can be deleted after the buildoverwriteExistingProfiles
- if the provisioning profile can be overwritten
-
-
Method Detail
-
getProvisioningProfiles
public List<KPPProvisioningProfile> getProvisioningProfiles()
Get the provisioning profiles.- Returns:
- list of provisioning profiles
-
getDeleteProfilesAfterBuild
public boolean getDeleteProfilesAfterBuild()
Get if the provisioning profile can be deleted after the build.- Returns:
- true can be deleted, otherwise false
-
getOverwriteExistingProfiles
public boolean getOverwriteExistingProfiles()
Get if current existing provisioning profile with the same filename can be overwritten.- Returns:
- true can be overwritten, otherwise false
-
setUp
public BuildWrapper.Environment setUp(AbstractBuild build, Launcher launcher, BuildListener listener) throws IOException, InterruptedException
- Overrides:
setUp
in classBuildWrapper
- Throws:
IOException
InterruptedException
-
getDescriptor
public KPPProvisioningProfilesBuildWrapper.DescriptorImpl getDescriptor()
- Specified by:
getDescriptor
in interfaceDescribable<BuildWrapper>
- Overrides:
getDescriptor
in classAbstractDescribableImpl<BuildWrapper>
-
-