TPTP 4.4.0 Platform Project
Public API Specification

org.eclipse.hyades.models.util
Class ModelDebugger

java.lang.Object
  extended byorg.eclipse.hyades.models.util.ModelDebugger
Direct Known Subclasses:
ModelDebugger

public class ModelDebugger
extends java.lang.Object


Field Summary
protected  java.util.Map binaryLogs
           
 boolean debug
           
 boolean debugCustomMaps
           
 java.lang.String debugDatabaseResourcePostfix
           
 boolean debugDeleteCSVFiles
           
 boolean debugEventFlow
           
 boolean debugEventsToFile
           
 boolean debugEventValue
           
 boolean debugLoadCSVFiles
           
 boolean debugPerfUtil
           
 int debugUseCBEtoCSVOutputter
           
 boolean debugUseCBEtoMemoryOutputter
           
 boolean debugUseOptimizedScanner
           
 boolean debugUseVirtualImpl
           
 int exceptionDepth
           
static ModelDebugger INSTANCE
           
protected  java.lang.String plugin_name
           
 boolean useEmbeddedPageControls
           
 boolean useSerializedByteCodeCache
           
 boolean useSWTVirtualSupport
           
protected  java.lang.String value
           
 
Constructor Summary
ModelDebugger(java.lang.String plugin_name)
           
 
Method Summary
 java.io.FileOutputStream getBinaryLog(java.lang.String id)
           
 java.lang.String getPlatformDebugOption(java.lang.String option)
           
protected  void init()
           
static boolean isZipFile(java.io.InputStream readStream)
           
static boolean isZipFile(java.lang.String fileName)
           
static void log(java.lang.String s)
           
static void log(java.lang.Throwable e)
           
static void log(java.lang.Throwable e, java.lang.String msg)
           
static void logCallstackWithLimit(java.lang.Throwable e, int limit, java.io.PrintStream out)
           
 int writeBinaryLog(java.lang.String id, byte buffer)
           
 int writeBinaryLog(java.lang.String id, byte[] buffer)
           
 int writeBinaryLog(java.lang.String id, byte[] buffer, int offset, int length)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

debug

public boolean debug

debugEventFlow

public boolean debugEventFlow

debugEventValue

public boolean debugEventValue

debugEventsToFile

public boolean debugEventsToFile

debugPerfUtil

public boolean debugPerfUtil

debugUseOptimizedScanner

public boolean debugUseOptimizedScanner

debugCustomMaps

public boolean debugCustomMaps

debugUseVirtualImpl

public boolean debugUseVirtualImpl

debugUseCBEtoMemoryOutputter

public boolean debugUseCBEtoMemoryOutputter

debugUseCBEtoCSVOutputter

public int debugUseCBEtoCSVOutputter

debugLoadCSVFiles

public boolean debugLoadCSVFiles

debugDeleteCSVFiles

public boolean debugDeleteCSVFiles

useSerializedByteCodeCache

public boolean useSerializedByteCodeCache

debugDatabaseResourcePostfix

public java.lang.String debugDatabaseResourcePostfix

exceptionDepth

public int exceptionDepth

useEmbeddedPageControls

public boolean useEmbeddedPageControls

useSWTVirtualSupport

public boolean useSWTVirtualSupport

plugin_name

protected java.lang.String plugin_name

value

protected java.lang.String value

INSTANCE

public static ModelDebugger INSTANCE

binaryLogs

protected java.util.Map binaryLogs
Constructor Detail

ModelDebugger

public ModelDebugger(java.lang.String plugin_name)
Method Detail

init

protected void init()

writeBinaryLog

public int writeBinaryLog(java.lang.String id,
                          byte[] buffer)

writeBinaryLog

public int writeBinaryLog(java.lang.String id,
                          byte buffer)

writeBinaryLog

public int writeBinaryLog(java.lang.String id,
                          byte[] buffer,
                          int offset,
                          int length)

getBinaryLog

public java.io.FileOutputStream getBinaryLog(java.lang.String id)

isZipFile

public static boolean isZipFile(java.io.InputStream readStream)
                         throws java.io.IOException
Throws:
java.io.IOException

isZipFile

public static boolean isZipFile(java.lang.String fileName)
                         throws java.io.IOException
Throws:
java.io.IOException

getPlatformDebugOption

public java.lang.String getPlatformDebugOption(java.lang.String option)

log

public static void log(java.lang.Throwable e)
Parameters:
e -

log

public static void log(java.lang.Throwable e,
                       java.lang.String msg)

logCallstackWithLimit

public static void logCallstackWithLimit(java.lang.Throwable e,
                                         int limit,
                                         java.io.PrintStream out)

log

public static void log(java.lang.String s)

TPTP 4.4.0 Platform Project
Public API Specification