org.jvnet.hudson.plugins.exclusion
Class IdAllocationManager

java.lang.Object
  extended by org.jvnet.hudson.plugins.exclusion.IdAllocationManager

public final class IdAllocationManager
extends Object

first author Kohsuke Kawaguchi fork by Anthony Roux


Field Summary
static Map<String,hudson.model.AbstractBuild> ids
           
 
Method Summary
 String allocate(hudson.model.AbstractBuild owner, String id, hudson.model.BuildListener buildListener)
           
 void free(String n)
           
static IdAllocationManager getManager(hudson.model.Computer node)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ids

public static final Map<String,hudson.model.AbstractBuild> ids
Method Detail

allocate

public String allocate(hudson.model.AbstractBuild owner,
                       String id,
                       hudson.model.BuildListener buildListener)
                throws InterruptedException,
                       IOException
Throws:
InterruptedException
IOException

getManager

public static IdAllocationManager getManager(hudson.model.Computer node)

free

public void free(String n)


Copyright © 2004-2012. All Rights Reserved.