edu.isi.pegasus.planner.catalog.transformation.client
Class Client

java.lang.Object
  extended by edu.isi.pegasus.planner.catalog.transformation.client.Client
Direct Known Subclasses:
TCAdd, TCDelete, TCQuery

public class Client
extends Object


Field Summary
protected  String file
           
protected  boolean isoldformat
           
protected  boolean isxml
           
protected  String lfn
           
protected  LogManager mLogger
           
protected  String name
           
protected  String namespace
           
protected  String pfn
           
protected  String profile
           
protected  List profiles
           
protected  String resource
           
protected  SysInfo system
           
protected  String systemstring
           
protected  TransformationCatalog tc
           
protected  int trigger
           
protected  String type
           
protected  String version
           
 
Constructor Summary
Client()
           
 
Method Summary
static String convertException(Exception e, int logLevel)
          Returns an error message that chains all the lower order error messages that might have been thrown.
 void fillArgs(Map argsmap)
          Takes the arguments from the TCClient and stores it for acess to the other TC Client modules.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

trigger

protected int trigger

lfn

protected String lfn

pfn

protected String pfn

profile

protected String profile

type

protected String type

resource

protected String resource

systemstring

protected String systemstring

namespace

protected String namespace

name

protected String name

version

protected String version

profiles

protected List profiles

system

protected SysInfo system

file

protected String file

mLogger

protected LogManager mLogger

tc

protected TransformationCatalog tc

isxml

protected boolean isxml

isoldformat

protected boolean isoldformat
Constructor Detail

Client

public Client()
Method Detail

fillArgs

public void fillArgs(Map argsmap)
Takes the arguments from the TCClient and stores it for acess to the other TC Client modules.

Parameters:
argsmap - Map

convertException

public static String convertException(Exception e,
                                      int logLevel)
Returns an error message that chains all the lower order error messages that might have been thrown.

Parameters:
e - the Exception for which the error message has to be composed.
logLevel - the user specified level for the logger
Returns:
the error message.


Copyright © 2011 The University of Southern California. All Rights Reserved.