com.michelin.cio.hudson.plugins.wasbuilder
Class WASInstallation
java.lang.Object
hudson.tools.ToolInstallation
com.michelin.cio.hudson.plugins.wasbuilder.WASInstallation
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.tools.ToolInstallation>, hudson.model.EnvironmentSpecific<WASInstallation>, hudson.slaves.NodeSpecific<WASInstallation>, java.io.Serializable
public class WASInstallation
- extends hudson.tools.ToolInstallation
- implements hudson.slaves.NodeSpecific<WASInstallation>, hudson.model.EnvironmentSpecific<WASInstallation>
Corresponds to an IBM WebSphere Application Server installation (currently,
it has been tested with WAS 6.0 and WAS 7.0) or an Administration Thin Client
(cf. http://publib.boulder.ibm.com/infocenter/wasinfo/v7r0/topic/com.ibm.websphere.nd.multiplatform.doc/info/ae/ae/txml_adminclient.html).
To use a {@link WASBuildStep} build step, it is mandatory to define an
installation: No default installations can be assumed as we necessarily need
{@code wsadmin.bat}/{@code wsadmin.sh}.
- Author:
- Romain Seguy (http://openromain.blogspot.com)
- See Also:
- Serialized Form
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
|
Constructor Summary |
WASInstallation(java.lang.String name,
java.lang.String home,
java.lang.String wsadminCommand)
|
| Methods inherited from class hudson.tools.ToolInstallation |
all, getDescriptor, getHome, getName, getProperties, translateFor |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WSADMIN_BAT
public static final java.lang.String WSADMIN_BAT
- See Also:
- Constant Field Values
WSADMIN_SH
public static final java.lang.String WSADMIN_SH
- See Also:
- Constant Field Values
WASInstallation
@DataBoundConstructor
public WASInstallation(java.lang.String name,
java.lang.String home,
java.lang.String wsadminCommand)
forEnvironment
public WASInstallation forEnvironment(hudson.EnvVars env)
- Specified by:
forEnvironment in interface hudson.model.EnvironmentSpecific<WASInstallation>
forNode
public WASInstallation forNode(hudson.model.Node node,
hudson.model.TaskListener log)
throws java.io.IOException,
java.lang.InterruptedException
- Specified by:
forNode in interface hudson.slaves.NodeSpecific<WASInstallation>
- Throws:
java.io.IOException
java.lang.InterruptedException
getWasInstallationByName
public static WASInstallation getWasInstallationByName(java.lang.String installationName)
getWsadminCommand
public java.lang.String getWsadminCommand()
getWsadminExecutable
public java.lang.String getWsadminExecutable(hudson.Launcher launcher)
throws java.io.IOException,
java.lang.InterruptedException
- Throws:
java.io.IOException
java.lang.InterruptedException
Copyright © 2010. All Rights Reserved.