public abstract class CloudManagerBuilder extends Builder implements SimpleBuildStep
Any Step
which interact with Cloud Manager and can be expressed as a Builder
should extend this class.
Modifier and Type | Class and Description |
---|---|
static class |
CloudManagerBuilder.CloudManagerBuilderDescriptor
Helper descriptor for concrete classes of Cloud Manager Builders.
|
SimpleBuildStep.LastBuildAction, SimpleBuildStep.LastBuildActionFactory
BuildStep.PublisherList
ExtensionPoint.LegacyInstancesAreScopedToHudson
Modifier and Type | Field and Description |
---|---|
protected String |
aioProject |
protected static org.slf4j.Logger |
LOGGER |
protected String |
pipeline |
protected String |
program |
BUILDERS, PUBLISHERS
Modifier | Constructor and Description |
---|---|
protected |
CloudManagerBuilder() |
Modifier and Type | Method and Description |
---|---|
io.adobe.cloudmanager.CloudManagerApi |
createApi()
Create a
CloudManagerApi from this Builder's configured Adobe IO project. |
String |
getAioProject() |
String |
getPipeline() |
String |
getPipelineId(io.adobe.cloudmanager.CloudManagerApi api,
String programId)
Get the Pipeline ID for this builder's configured Pipeline.
|
String |
getProgram() |
String |
getProgramId(io.adobe.cloudmanager.CloudManagerApi api)
Get the Program Id for this Builder's configured Program.
|
void |
setAioProject(String aioProject) |
void |
setPipeline(String pipeline) |
void |
setProgram(String program) |
all, getDescriptor, getRequiredMonitorService, prebuild
getProjectAction, getProjectAction, getProjectActions, perform, perform, prebuild
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
perform, perform, perform, requiresWorkspace
getProjectAction, getProjectActions, getRequiredMonitorService, perform, prebuild
protected static final org.slf4j.Logger LOGGER
protected String aioProject
protected String program
protected String pipeline
@CheckForNull public String getAioProject()
@DataBoundSetter public void setAioProject(String aioProject)
@CheckForNull public String getProgram()
@DataBoundSetter public void setProgram(String program)
@CheckForNull public String getPipeline()
@DataBoundSetter public void setPipeline(String pipeline)
@Nonnull public io.adobe.cloudmanager.CloudManagerApi createApi() throws AbortException
CloudManagerApi
from this Builder's configured Adobe IO project.AbortException
@Nonnull public String getProgramId(io.adobe.cloudmanager.CloudManagerApi api) throws AbortException
AbortException
@Nonnull public String getPipelineId(io.adobe.cloudmanager.CloudManagerApi api, String programId) throws AbortException
AbortException
Copyright © 2020–2021 Adobe Inc. All rights reserved.