gov.bnl.star.offline.scheduler.util
Class jobIDGen

java.lang.Object
  extended by gov.bnl.star.offline.scheduler.util.jobIDGen

public class jobIDGen
extends java.lang.Object

Generate a uuid for the request. note: this needs jug.jar to work

Author:
Levente Hajdu

Constructor Summary
jobIDGen()
          Creates a new instance of test_jug
 
Method Summary
static java.lang.String GetJobIDType1()
           
static java.lang.String GetJobIDType2()
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

jobIDGen

public jobIDGen()
Creates a new instance of test_jug

Method Detail

main

public static void main(java.lang.String[] args)
Parameters:
args - the command line arguments

GetJobIDType1

public static java.lang.String GetJobIDType1()

GetJobIDType2

public static java.lang.String GetJobIDType2()
Returns:
A randomly generated job ID


Copyright © 2002-2004 STAR collaboration - Brookhaven National Laboratory. All Rights Reserved.