Package org.jenkinsci.plugins
Class vSphereCloud
java.lang.Object
hudson.model.AbstractModelObject
hudson.model.Actionable
hudson.slaves.Cloud
org.jenkinsci.plugins.vSphereCloud
- All Implemented Interfaces:
ExtensionPoint,Describable<Cloud>,ModelObject,SearchableModelObject,SearchItem,AccessControlled,ModelObjectWithContextMenu
- Author:
- Admin
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class hudson.slaves.Cloud
Cloud.CloudStateNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudsonNested classes/interfaces inherited from interface jenkins.model.ModelObjectWithContextMenu
ModelObjectWithContextMenu.ContextMenu, ModelObjectWithContextMenu.ContextMenuVisibility, ModelObjectWithContextMenu.MenuItem, ModelObjectWithContextMenu.MenuItemType -
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionvSphereCloud(String vsHost, String vsDescription, String username, String password, int maxOnlineSlaves) Deprecated.vSphereCloud(VSphereConnectionConfig vsConnectionConfig, String vsDescription, int maxOnlineSlaves, int instanceCap, List<? extends vSphereCloudSlaveTemplate> templates) -
Method Summary
Modifier and TypeMethodDescriptioncanMarkVMOnline(String slaveName, String vmName) booleancanProvision(Label label) static List<vSphereCloud> findAllVsphereClouds(String jobName) booleanfinal intgetHash()intintList<? extends vSphereCloudSlaveTemplate> static voidLog(Slave slave, TaskListener listener, String format, Object... args) Logs aLevel.INFOmessage (created withString.format(String, Object...)), prefixed by theSlavename.static voidLogs aLevel.SEVEREmessage (created withString.format(String, Object...)) and aThrowable(with stacktrace), prefixed by theSlavename.static voidLogs aLevel.INFOmessage (created withString.format(String, Object...)), prefixed by theSlavename.static voidLogs aLevel.SEVEREmessage (created withString.format(String, Object...)) and aThrowable(with stacktrace), prefixed by theSlavename.static voidLog(TaskListener listener, String format, Object... args) Logs aLevel.INFOmessage (created withString.format(String, Object...)).static voidLog(TaskListener listener, Throwable ex, String format, Object... args) Logs aLevel.SEVEREmessage (created withString.format(String, Object...)) and aThrowable(with stacktrace).static voidLog(SlaveComputer slave, TaskListener listener, String format, Object... args) Logs aLevel.INFOmessage (created withString.format(String, Object...)), prefixed by theSlaveComputername.static voidLog(SlaveComputer slave, TaskListener listener, Throwable ex, String format, Object... args) Logs aLevel.SEVEREmessage (created withString.format(String, Object...)) and aThrowable(with stacktrace), prefixed by theSlaveComputername.static voidLogs anLevel.INFOmessage (created withString.format(String, Object...)).static voidLogs anLevel.SEVEREmessage (created withString.format(String, Object...)) and aThrowablewith stacktrace.voidmarkVMOffline(String slaveName, String vmName) markVMOnline(String slaveName, String vmName) toString()Methods inherited from class hudson.slaves.Cloud
all, canProvision, doConfigSubmit, doDoDelete, getACL, getDisplayName, getIcon, getIconAltText, getIconClassName, getSearchUrl, getUrl, provision, reconfigure, reconfigure, registerPermissionsMethods inherited from class hudson.model.Actionable
addAction, addOrReplaceAction, doContextMenu, doContextMenu, getAction, getAction, getActions, getActions, getAllActions, getDynamic, getDynamic, removeAction, removeActions, replaceAction, replaceActionsMethods inherited from class hudson.model.AbstractModelObject
getSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError, sendError, sendError, sendErrorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface hudson.security.AccessControlled
checkAnyPermission, checkPermission, hasAnyPermission, hasPermission, hasPermission, hasPermission2
-
Constructor Details
-
vSphereCloud
@Deprecated public vSphereCloud(String vsHost, String vsDescription, String username, String password, int maxOnlineSlaves) Deprecated. -
vSphereCloud
@DataBoundConstructor public vSphereCloud(VSphereConnectionConfig vsConnectionConfig, String vsDescription, int maxOnlineSlaves, int instanceCap, List<? extends vSphereCloudSlaveTemplate> templates)
-
-
Method Details
-
Log
Logs anLevel.INFOmessage (created withString.format(String, Object...)). -
Log
Logs anLevel.SEVEREmessage (created withString.format(String, Object...)) and aThrowablewith stacktrace. -
Log
Logs aLevel.INFOmessage (created withString.format(String, Object...)). -
Log
Logs aLevel.SEVEREmessage (created withString.format(String, Object...)) and aThrowable(with stacktrace). -
Log
Logs aLevel.INFOmessage (created withString.format(String, Object...)), prefixed by theSlavename. -
Log
Logs aLevel.SEVEREmessage (created withString.format(String, Object...)) and aThrowable(with stacktrace), prefixed by theSlavename. -
Log
Logs aLevel.INFOmessage (created withString.format(String, Object...)), prefixed by theSlavename. -
Log
public static void Log(Slave slave, TaskListener listener, Throwable ex, String format, Object... args) Logs aLevel.SEVEREmessage (created withString.format(String, Object...)) and aThrowable(with stacktrace), prefixed by theSlavename. -
Log
Logs aLevel.INFOmessage (created withString.format(String, Object...)), prefixed by theSlaveComputername. -
Log
public static void Log(SlaveComputer slave, TaskListener listener, Throwable ex, String format, Object... args) Logs aLevel.SEVEREmessage (created withString.format(String, Object...)) and aThrowable(with stacktrace), prefixed by theSlaveComputername. -
readResolve
- Throws:
IOException
-
getMaxOnlineSlaves
public int getMaxOnlineSlaves() -
getInstanceCap
public int getInstanceCap() -
getTemplates
-
getPassword
-
getUsername
-
getVsDescription
-
getVsHost
-
getAllowUntrustedCertificate
public boolean getAllowUntrustedCertificate() -
getVsConnectionConfig
-
getHash
public final int getHash() -
vSphereInstance
- Throws:
VSphereException
-
canProvision
- Overrides:
canProvisionin classCloud
-
provision
-
toString
-
canMarkVMOnline
-
markVMOnline
-
markVMOffline
-
findAllVsphereClouds
-
findAllVsphereCloudNames
-
getDescriptor
- Specified by:
getDescriptorin interfaceDescribable<Cloud>- Overrides:
getDescriptorin classCloud
-