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.PublisherListNested 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 TypeMethodDescriptionintintWe'll use this from thebooleanbooleanbooleanbooleanbooleanperform(AbstractBuild build, Launcher launcher, BuildListener listener) Methods inherited from class hudson.tasks.Builder
all, getRequiredMonitorService, prebuildMethods 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:
performin interfaceBuildStep- Overrides:
performin classBuildStepCompatibilityLayer
-
getDescriptor
- Specified by:
getDescriptorin interfaceDescribable<Builder>- Overrides:
getDescriptorin classBuilder
-