gov.nih.nci.cagrid.introduce.codegen
Class SyncTools
java.lang.Object
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
|
Constructor Summary |
SyncTools(java.io.File directory)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
SyncTools
public SyncTools(java.io.File directory)
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 addinfo - 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