hudson.plugins.ccm
Class CCMBuilderInstallation

java.lang.Object
  extended by hudson.plugins.ccm.CCMBuilderInstallation
All Implemented Interfaces:
java.io.Serializable

public class CCMBuilderInstallation
extends java.lang.Object
implements java.io.Serializable

CCM Builder Installation.

Holds data provided by the user in the global screen of configuration.

Since:
7 april, 2010
Author:
Bruno P. Kinoshita - http://www.kinoshita.eti.br
See Also:
Serialized Form

Constructor Summary
CCMBuilderInstallation(java.lang.String name, java.lang.String pathToCCM)
           
 
Method Summary
 java.lang.String getExecutable(hudson.Launcher launcher)
          Gets the path to the CCM executable.
 java.io.File getExecutableFile()
          Gets the executable file of CCM.
 boolean getExists()
          Returns true if the executable exists.
 java.lang.String getName()
          Human readable display name.
 java.lang.String getPathToCCM()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CCMBuilderInstallation

@DataBoundConstructor
public CCMBuilderInstallation(java.lang.String name,
                                                   java.lang.String pathToCCM)
Method Detail

getName

public java.lang.String getName()
Human readable display name.


getPathToCCM

public java.lang.String getPathToCCM()

getExecutable

public java.lang.String getExecutable(hudson.Launcher launcher)
                               throws java.lang.InterruptedException,
                                      java.io.IOException
Gets the path to the CCM executable.

Parameters:
launcher - Hudson launcher
Returns:
Path to the CCM executable
Throws:
java.lang.InterruptedException
java.io.IOException - If the executable does not exist

getExecutableFile

public java.io.File getExecutableFile()
Gets the executable file of CCM.

Returns:
CCM executable file

getExists

public boolean getExists()
                  throws java.lang.InterruptedException,
                         java.io.IOException
Returns true if the executable exists.

Throws:
java.lang.InterruptedException
java.io.IOException


Copyright © 2010. All Rights Reserved.