gov.nih.nci.cagrid.introduce.codegen
Class SyncTools

java.lang.Object
  extended by gov.nih.nci.cagrid.introduce.codegen.SyncTools

public class SyncTools
extends java.lang.Object

Top level controller for re-syncing the service.

Version:
$Id: mobiusEclipseCodeTemplates.xml,v 1.2 2005/04/19 14:58:02 oster Exp $
Author:
Shannon Hastings , Scott Oster , Stephen Langella

Field Summary
 java.io.File baseDirectory
           
static java.lang.String DIR_OPT
           
static java.lang.String DIR_OPT_FULL
           
 
Constructor Summary
SyncTools(java.io.File directory)
           
 
Method Summary
static boolean addFault(java.lang.String exceptionName, SpecificServiceInformation info)
          Adds a fault to a service's schema.
static void main(java.lang.String[] args)
           
 void sync()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DIR_OPT

public static final java.lang.String DIR_OPT
See Also:
Constant Field Values

DIR_OPT_FULL

public static final java.lang.String DIR_OPT_FULL
See Also:
Constant Field Values

baseDirectory

public java.io.File baseDirectory
Constructor Detail

SyncTools

public SyncTools(java.io.File directory)
Method Detail

sync

public void sync()
          throws java.lang.Exception
Throws:
java.lang.Exception

main

public static void main(java.lang.String[] args)

addFault

public static boolean addFault(java.lang.String exceptionName,
                               SpecificServiceInformation info)
                        throws java.lang.Exception
Adds a fault to a service's schema.

Parameters:
exceptionName - The name of the exception to add
info - The service information for the service
Returns:
true indicates the fault was new to the service, false means it was already in the service's schema
Throws:
java.lang.Exception