Package org.jenkinsci.plugins.vmanager
Class VMGRAPI
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Builder
org.jenkinsci.plugins.vmanager.VMGRAPI
- All Implemented Interfaces:
ExtensionPoint
,Describable<Builder>
,BuildStep
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherList
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
-
Constructor Summary
ConstructorsConstructorDescriptionVMGRAPI
(String vAPIUrl, String vAPIUser, Secret vAPIPassword, String vAPIInput, String vJsonInputFile, boolean deleteInputFile, boolean authRequired, String apiType, boolean dynamicUserId, String apiUrl, String requestMethod, boolean advConfig, int connTimeout, int readTimeout) -
Method Summary
Modifier and TypeMethodDescriptionint
int
We'll use this from theboolean
boolean
boolean
boolean
boolean
perform
(AbstractBuild build, Launcher launcher, BuildListener listener) Methods inherited from class hudson.tasks.Builder
all, getRequiredMonitorService, prebuild
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectAction, getProjectActions, perform, prebuild
-
Constructor Details
-
VMGRAPI
@DataBoundConstructor public VMGRAPI(String vAPIUrl, String vAPIUser, Secret vAPIPassword, String vAPIInput, String vJsonInputFile, boolean deleteInputFile, boolean authRequired, String apiType, boolean dynamicUserId, String apiUrl, String requestMethod, boolean advConfig, int connTimeout, int readTimeout)
-
-
Method Details
-
getVAPIUrl
We'll use this from theconfig.jelly
.- Returns:
-
getApiUrl
-
getVAPIUser
-
getVAPIInput
-
getVJsonInputFile
-
isAuthRequired
public boolean isAuthRequired() -
isDeleteInputFile
public boolean isDeleteInputFile() -
isDynamicUserId
public boolean isDynamicUserId() -
getApiType
-
getRequestMethod
-
isAdvConfig
public boolean isAdvConfig() -
getConnTimeout
public int getConnTimeout() -
getVAPIPassword
-
getReadTimeout
public int getReadTimeout() -
perform
- Specified by:
perform
in interfaceBuildStep
- Overrides:
perform
in classBuildStepCompatibilityLayer
-
getDescriptor
- Specified by:
getDescriptor
in interfaceDescribable<Builder>
- Overrides:
getDescriptor
in classBuilder
-