com.michelin.cio.hudson.plugins.clearcaseucmbaseline
Class BuildVariableResolver

java.lang.Object
  extended by com.michelin.cio.hudson.plugins.clearcaseucmbaseline.BuildVariableResolver
All Implemented Interfaces:
hudson.util.VariableResolver<java.lang.String>

public class BuildVariableResolver
extends java.lang.Object
implements hudson.util.VariableResolver<java.lang.String>

This VariableResolver enhances the one defined by the ClearCase plugin (cf. BuildVariableResolver) to add support for the CLEARCASE_BASELINE environment variable.

This class has been built to implement HUDSON-6410.

Author:
Romain Seguy (http://openromain.blogspot.com)

Nested Class Summary
 
Nested classes/interfaces inherited from interface hudson.util.VariableResolver
hudson.util.VariableResolver.ByMap<V>, hudson.util.VariableResolver.Union<V>
 
Field Summary
 
Fields inherited from interface hudson.util.VariableResolver
NONE
 
Constructor Summary
BuildVariableResolver(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener, java.lang.String baseline)
           
 
Method Summary
 java.lang.String resolve(java.lang.String key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BuildVariableResolver

public BuildVariableResolver(hudson.model.AbstractBuild<?,?> build,
                             hudson.Launcher launcher,
                             hudson.model.BuildListener listener,
                             java.lang.String baseline)
Method Detail

resolve

public java.lang.String resolve(java.lang.String key)
Specified by:
resolve in interface hudson.util.VariableResolver<java.lang.String>


Copyright © 2011. All Rights Reserved.