org.jenkinsci.plugins.tibco.installation
Class TibcoInstallation

java.lang.Object
  extended by hudson.model.AbstractDescribableImpl<hudson.tools.ToolInstallation>
      extended by hudson.tools.ToolInstallation
          extended by org.jenkinsci.plugins.tibco.installation.TibcoInstallation
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.tools.ToolInstallation>, hudson.model.EnvironmentSpecific<TibcoInstallation>, hudson.slaves.NodeSpecific<TibcoInstallation>, Serializable

public class TibcoInstallation
extends hudson.tools.ToolInstallation
implements hudson.model.EnvironmentSpecific<TibcoInstallation>, hudson.slaves.NodeSpecific<TibcoInstallation>

Author:
Federico Pastore - federico.pastore@gmail.com Disclaimer - TIBCO, the TIBCO logo and TIBCO Software are trademarks or registered trademarks of TIBCO Software Inc. in the United States and/or other countries. All other product and company names and marks mentioned are the property of their respective owners.
See Also:
Serialized Form

Nested Class Summary
static class TibcoInstallation.ConverterImpl
           
static class TibcoInstallation.DescriptorImpl
           
 
Nested classes/interfaces inherited from class hudson.tools.ToolInstallation
hudson.tools.ToolInstallation.ToolConverter
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
TibcoInstallation(String name, String home, List<? extends hudson.tools.ToolProperty<?>> properties)
           
 
Method Summary
 void buildEnvVars(hudson.EnvVars env)
           
 TibcoInstallation forEnvironment(hudson.EnvVars environment)
           
 TibcoInstallation forNode(hudson.model.Node node, hudson.model.TaskListener log)
           
 String getAmxEclipseAntExecutable(hudson.Launcher launcher)
           
 boolean getAmxEclipseAntExists()
          Returns true if the executable exists.
 String getStudioToolsExecutable(hudson.Launcher launcher)
          Gets the executable path of this Tibco installation on the given target system.
 boolean getStudioToolsExists()
          Returns true if the executable exists.
 
Methods inherited from class hudson.tools.ToolInstallation
all, getHome, getName, getProperties, readResolve, translate, translate, translateFor
 
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TibcoInstallation

@DataBoundConstructor
public TibcoInstallation(String name,
                                              String home,
                                              List<? extends hudson.tools.ToolProperty<?>> properties)
Method Detail

buildEnvVars

public void buildEnvVars(hudson.EnvVars env)
Overrides:
buildEnvVars in class hudson.tools.ToolInstallation

forEnvironment

public TibcoInstallation forEnvironment(hudson.EnvVars environment)
Specified by:
forEnvironment in interface hudson.model.EnvironmentSpecific<TibcoInstallation>

forNode

public TibcoInstallation forNode(hudson.model.Node node,
                                 hudson.model.TaskListener log)
                          throws IOException,
                                 InterruptedException
Specified by:
forNode in interface hudson.slaves.NodeSpecific<TibcoInstallation>
Throws:
IOException
InterruptedException

getAmxEclipseAntExecutable

public String getAmxEclipseAntExecutable(hudson.Launcher launcher)
                                  throws IOException,
                                         InterruptedException
Throws:
IOException
InterruptedException

getStudioToolsExecutable

public String getStudioToolsExecutable(hudson.Launcher launcher)
                                throws IOException,
                                       InterruptedException
Gets the executable path of this Tibco installation on the given target system.

Throws:
IOException
InterruptedException

getAmxEclipseAntExists

public boolean getAmxEclipseAntExists()
                               throws IOException,
                                      InterruptedException
Returns true if the executable exists.

Throws:
IOException
InterruptedException

getStudioToolsExists

public boolean getStudioToolsExists()
                             throws IOException,
                                    InterruptedException
Returns true if the executable exists.

Throws:
IOException
InterruptedException


Copyright © 2004-2013. All Rights Reserved.